Skip to content

Commit 03eba9f

Browse files
committed
build: add cache management for npm
1 parent 9681072 commit 03eba9f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v2
1717

18+
- uses: actions/cache@v3
19+
with:
20+
path: ~/.npm
21+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
22+
restore-keys: |
23+
${{ runner.os }}-node-
24+
1825
- name: Install
1926
run: npm ci
2027

0 commit comments

Comments
 (0)