c: add recommended cache settings to workflow
GitHub recommends to use a cache in the workflow.
For npm this is handled by the GitHub Action itself.
See:
MODIFY
.github/workflows/verify.yml
.github/workflows/verify.yml
@@ -24,6 +24,7 @@ jobs:
- uses: actions/setup-node@v2-beta
with:
node-version: '16'
+ cache: 'npm'
check-latest: true
- name: Install node modules
run: npm ci
@@ -38,6 +39,7 @@ jobs:
- uses: actions/setup-node@v2-beta
with:
node-version: '16'
+ cache: 'npm'
check-latest: true
- name: Install node modules
run: npm ci

c: add recommended cache settings to workflow

GitHub recommends to use a cache in the workflow.
For npm this is handled by the GitHub Action itself.
See: https://github.com/actions/setup-node#caching-global-packages-data