Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 686c2ac

Browse files
authored
ci(test): workflow fixes
1 parent e3ea204 commit 686c2ac

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,22 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v2
2424
with:
2525
node-version: ${{ matrix.node-version }}
26-
- uses: bahmutov/npm-install@v1
26+
cache: npm
27+
- run: npm ci
2728
- run: npm run test
2829
test:
2930
runs-on: ubuntu-latest
3031
needs: test_matrix
3132
steps:
3233
- uses: actions/checkout@v2
33-
- uses: actions/setup-node@v1
34+
- uses: actions/setup-node@v2
3435
with:
3536
node-version: 16
36-
- uses: bahmutov/npm-install@v1
37+
cache: npm
38+
- run: npm ci
3739
- run: find ./scripts -type f -exec "shellcheck" "-x" {} \;
3840
- run: docker build -t semanticrelease/npm-registry-docker .
3941
- run: npm run lint

0 commit comments

Comments
 (0)