Skip to content

Commit ac556ba

Browse files
authored
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#10)
1 parent 25efc42 commit ac556ba

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
@@ -13,6 +13,7 @@ jobs:
1313
- uses: actions/setup-node@v2
1414
with:
1515
node-version: 12
16+
cache: npm
1617
- uses: actions/cache@v2
1718
with:
1819
path: ~/.npm

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/setup-node@v2
2020
with:
2121
node-version: ${{ matrix.node_version }}
22+
cache: npm
2223
- uses: actions/cache@v2
2324
with:
2425
path: ~/.npm

0 commit comments

Comments
 (0)