Skip to content

Commit 5d32ea8

Browse files
authored
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#45)
1 parent 66a11f1 commit 5d32ea8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- uses: actions/setup-node@v2
1313
with:
1414
node-version: 16
15+
cache: npm
1516
- run: npm ci
1617
- run: npx semantic-release
1718
env:

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v2
1616
with:
1717
node-version: 16
18+
cache: npm
1819
- name: Install
1920
run: npm ci
2021
- name: Check JS

0 commit comments

Comments
 (0)