Cache NPM dependencies in workflows (#1065)

This commit is contained in:
Jon Koops 2021-08-25 16:00:44 +02:00 committed by GitHub
parent 45095fdc42
commit 170b4b0e43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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