Skip to content

Commit 7de9022

Browse files
authored
ci: cache npm dependencies (#184)
1 parent 142b0b3 commit 7de9022

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/build.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@v4
2424
with:
2525
node-version: 24
26+
cache: npm
2627
- run: npm ci
2728
- run: npm run build --workspaces --if-present
2829
- run: rm -rf node_modules

.github/workflows/check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
- uses: actions/setup-node@v4
1010
with:
1111
node-version: 24
12+
cache: npm
1213
- run: npm install
1314
- run: npm run build
1415
- run: npm run check --workspaces --if-present

.github/workflows/size.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 24
16+
cache: npm
1617
- uses: preactjs/compressed-size-action@v2
1718
with:
1819
compression: brotli

.github/workflows/test.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@v4
1313
with:
1414
node-version: 24
15+
cache: npm
1516
- run: npm ci
1617
- run: npm run build
1718
- name: Disable AppArmor for chromium

0 commit comments

Comments
 (0)