From 3d8cf3e17592580dc1130b2382020d84c07895ab Mon Sep 17 00:00:00 2001 From: Peter Mescalchin Date: Tue, 22 Mar 2022 10:13:51 +1100 Subject: [PATCH] Bump Node.js version used to `16.x` in workflows --- .github/workflows/check-dist.yml | 7 ++----- .github/workflows/workflow.yml | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index ff27fa5..c4683ba 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -23,15 +23,12 @@ jobs: steps: - uses: actions/checkout@v3 - - - name: Setup Node.js 12.x + - name: Setup Node.js 16.x uses: actions/setup-node@v3 with: - node-version: 12.x - + node-version: 16.x - name: Install dependencies run: npm ci - - name: Rebuild the dist/ directory run: npm run build diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d1323d8..48f1ccb 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -25,10 +25,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Setup Node.js 12.x + - name: Setup Node.js 16.x uses: actions/setup-node@v3 with: - node-version: '12.x' + node-version: 16.x - name: Determine npm cache directory id: npm-cache run: |