Skip to content

Commit 5a52a4a

Browse files
chore(ci): enable caching (#399)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent baa55b8 commit 5a52a4a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/pre-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: '*'
15+
cache: npm
1516
check-latest: true
1617
registry-url: 'https://registry.npmjs.org'
1718
- name: Extract tag and version

.github/workflows/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- uses: actions/setup-node@v2
2424
with:
2525
node-version: '*'
26+
cache: npm
2627
check-latest: true
2728
registry-url: 'https://registry.npmjs.org'
2829
if: ${{ steps.release.outputs.release_created }}

.github/workflows/workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: actions/setup-node@v2
2323
with:
2424
node-version: ${{ matrix.node-version }}
25+
cache: npm
2526
check-latest: true
2627
- name: Install dependencies
2728
run: npm ci

0 commit comments

Comments
 (0)