ci: use NPM cache in setup-node@v3

pull/654/head
Nick Schonning 3 years ago
parent 1f9a0c22da
commit 29fd6d363e
No known key found for this signature in database
GPG Key ID: 5DDAAD9C9AAFFD9F

@ -25,9 +25,10 @@ jobs:
- uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- name: Install dependencies
run: npm ci

@ -11,9 +11,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- uses: actions/checkout@v3
- run: npm ci
- run: npm run build

Loading…
Cancel
Save