Skip to content

Commit fd498a1

Browse files
cicd: use npm cache (#592)
1 parent cc65c46 commit fd498a1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,18 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v3
21+
2122
- name: Use Node.js ${{ matrix.node-version }}
2223
uses: actions/setup-node@v3
2324
with:
2425
node-version: ${{ matrix.node-version }}
26+
cache: npm
27+
2528
- name: Install Dependencies
26-
run: npm ci
29+
run: npm ci --prefer-offline
30+
2731
- name: Build
2832
run: npm run build
33+
2934
- name: Run Tests & Lint
3035
run: npm test

0 commit comments

Comments
 (0)