Skip to content

Commit 7ddb797

Browse files
committed
fix workflow error
1 parent 244a987 commit 7ddb797

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ jobs:
1515
node-version: [20]
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
cache: 'npm'
24+
cache-dependency-path: '**/package-lock.json'
2425
- run: npm ci
2526
- run: npm run build --if-present
2627
- run: npm run coverage --if-present

0 commit comments

Comments
 (0)