Skip to content

Commit 18dfcb7

Browse files
authored
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#123)
1 parent 1df9749 commit 18dfcb7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-node@v2.2.0
17+
with:
18+
cache: npm
1719
- run: npm ci
1820
- run: npx semantic-release
1921
env:

.github/workflows/update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v2
2222
- uses: actions/setup-node@v2.2.0
23+
with:
24+
cache: npm
2325
- run: npm ci
2426

2527
# set gOCTOKIT_OPENAPI_VERSION environment variable for all next steps

0 commit comments

Comments
 (0)