Skip to content

Commit

Permalink
test node 22 fix for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
pengyin-shan committed Dec 17, 2024
1 parent 328831e commit aa738df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ jobs:

steps:
- name: Set up Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: 'npm'

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v2
Expand All @@ -26,7 +27,7 @@ jobs:
${{ runner.OS }}-
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps

- name: Lint code
run: npm run lint
Expand Down

0 comments on commit aa738df

Please sign in to comment.