From 12d3816a5fe758c9625fe8ea108d378627fe846b Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 31 Jul 2021 10:56:59 -0400 Subject: [PATCH] Use Node.js 16 in workflow (which ships with npm 7) --- .github/workflows/push.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 2a0e7db5..31fac168 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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