Skip to content

Commit 09def2e

Browse files
Add caching to CI
1 parent 3f4e1cc commit 09def2e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ jobs:
1919
runs-on: ubuntu-22.04
2020
steps:
2121
- uses: actions/checkout@v6
22+
- name: Cache npm dependencies
23+
uses: actions/cache@v5
24+
with:
25+
path: ~/.npm
26+
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
27+
restore-keys: |
28+
${{ runner.os }}-node-
2229
- run: npm ci
2330
- run: npm run build
2431
- name: Disable Jykell

0 commit comments

Comments
 (0)