From 9f376c01c44d7ebd535a0c1bc4964856df862e42 Mon Sep 17 00:00:00 2001 From: Luke Blaney Date: Tue, 14 May 2024 01:56:44 +0100 Subject: [PATCH 1/2] run actions on even versions of nodejs up to v20 --- .github/workflows/usage.yml | 4 ++-- .github/workflows/verify.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/usage.yml b/.github/workflows/usage.yml index c4c4933..7d31460 100644 --- a/.github/workflows/usage.yml +++ b/.github/workflows/usage.yml @@ -53,7 +53,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 15.x] + node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x] needs: package steps: @@ -80,7 +80,7 @@ jobs: strategy: matrix: - node-version: [14.x, 15.x] + node-version: [14.x, 16.x, 18.x, 20.x] needs: package steps: diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 0a86a51..4e4c30c 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 15.x] + node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v2 From 176ed38d80f51ccdaa2a41c02f90af083cdcc207 Mon Sep 17 00:00:00 2001 From: Luke Blaney Date: Tue, 14 May 2024 01:58:00 +0100 Subject: [PATCH 2/2] run build, package & lint jobs on node v20 --- .github/workflows/usage.yml | 4 ++-- .github/workflows/verify.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/usage.yml b/.github/workflows/usage.yml index 7d31460..d0b700e 100644 --- a/.github/workflows/usage.yml +++ b/.github/workflows/usage.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 20.x - name: npm install and build run: | npm install @@ -33,7 +33,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 20.x - name: Get build-output from build step uses: actions/download-artifact@v2 with: diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 4e4c30c..98797d4 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 20.x - run: npm install - run: npm run test-lint @@ -43,7 +43,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 20.x - name: npm install and build run: | npm install