Skip to content

Commit 27cdf87

Browse files
committed
Cache node_modules
1 parent 13a89cf commit 27cdf87

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: checkout
12-
uses: actions/checkout@main
12+
uses: actions/checkout@v4
13+
14+
- name: Cache node modules
15+
uses: actions/cache@v4
16+
with:
17+
path: node_modules
18+
key: node_modules-${{ hashFiles('**/package-lock.json') }}
19+
restore-keys: |
20+
node_modules-
1321
1422
- run: npm ci
1523

0 commit comments

Comments
 (0)