Cache NPM dependencies in workflows (#1065)
This commit is contained in:
parent
45095fdc42
commit
170b4b0e43
2 changed files with 2 additions and 0 deletions
1
.github/workflows/cypress.yml
vendored
1
.github/workflows/cypress.yml
vendored
|
@ -28,6 +28,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
cache: npm
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
1
.github/workflows/node.js.yml
vendored
1
.github/workflows/node.js.yml
vendored
|
@ -25,6 +25,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
cache: npm
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
|
Loading…
Reference in a new issue