From 3065c9b06468891c0d5cfb783a32cdeb5feaa944 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 d900912..4c7e694 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, 16.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, 16.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 8f02950..cc7f275 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, 16.x] + node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v4 From d8d50dacfcd8bd8ea4821a80e1bf69055d9f2a2d 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 4c7e694..5070bff 100644 --- a/.github/workflows/usage.yml +++ b/.github/workflows/usage.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 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@v4 with: - node-version: 14.x + node-version: 20.x - name: Get build-output from build step uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index cc7f275..b1fcb84 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 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@v4 with: - node-version: 14.x + node-version: 20.x - name: npm install and build run: | npm install