Skip to content

Commit f69ec2e

Browse files
committed
ci(cache): switched to use the caching built into actions/setup-node
1 parent e0053dc commit f69ec2e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/node-ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
uses: actions/setup-node@v2
2323
with:
2424
node-version-file: '.nvmrc'
25-
- uses: bahmutov/npm-install@v1
25+
cache: npm
26+
- run: npm clean-install
2627
- run: npm test
2728
- name: Upload coverage data to Codecov
2829
run: npm run coverage:report
@@ -41,7 +42,8 @@ jobs:
4142
uses: actions/setup-node@v2
4243
with:
4344
node-version: ${{ matrix.node }}
44-
- uses: bahmutov/npm-install@v1
45+
cache: npm
46+
- run: npm clean-install
4547
- run: npm test
4648
release:
4749
needs:
@@ -54,7 +56,8 @@ jobs:
5456
uses: actions/setup-node@v2
5557
with:
5658
node-version: lts/*
57-
- uses: bahmutov/npm-install@v1
59+
cache: npm
60+
- run: npm clean-install
5861
- name: semantic-release
5962
run: npx semantic-release
6063
env:

0 commit comments

Comments
 (0)