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