Use Node.js 16 in workflow (which ships with npm 7)

This commit is contained in:
arkon 2021-07-31 10:56:59 -04:00
parent 724274590f
commit 12d3816a5f

View File

@ -14,21 +14,18 @@ jobs:
with:
fetch-depth: 0
- name: Setup Node 12
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 12
- name: Setup NPM 7
run: npm install -g npm@7
node-version: 16
- name: Check cache
uses: actions/cache@v2
id: npm-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm install