From 96c3485ce393b28621cf1039bca9bcbdc755a445 Mon Sep 17 00:00:00 2001 From: Alexander Sapountzis Date: Mon, 9 Dec 2024 10:26:46 -0500 Subject: [PATCH 1/2] ci: Update Node versions for Automated tasks --- .github/workflows/pull-request.yml | 10 +++++----- .github/workflows/release.yml | 11 ++++------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d078f5bab..d78d85c64 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -18,7 +18,7 @@ jobs: - name: NPM install uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: latest - name: Run NPM CI run: npm ci @@ -55,7 +55,7 @@ jobs: runs-on: 'ubuntu-latest' strategy: matrix: - node-version: [16.x, 17.x, 18.x, 19.x, 20.x] + node-version: [18.x, 19.x, 20.x, 21.x, 22.x, 23.x, 24.x] steps: - name: Checkout uses: actions/checkout@v3 @@ -107,7 +107,7 @@ jobs: - name: NPM install uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: latest - name: Run NPM CI run: npm ci @@ -224,7 +224,7 @@ jobs: - name: NPM install uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: latest - name: Run NPM CI run: npm ci @@ -275,7 +275,7 @@ jobs: - name: NPM install uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: latest - name: Compress Bundle run: npm run bundle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f602953dd..4c76bde28 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - name: NPM install uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: latest - name: Run NPM CI run: npm ci @@ -57,9 +57,6 @@ jobs: test-jest: name: 'Test Jest' runs-on: 'ubuntu-latest' - strategy: - matrix: - node-version: [16.x, 17.x, 18.x, 19.x, 20.x] steps: - name: Checkout uses: actions/checkout@v3 @@ -67,7 +64,7 @@ jobs: - name: NPM install uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: latest - name: Run NPM CI run: npm ci @@ -111,7 +108,7 @@ jobs: - name: NPM install uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: latest - name: Run NPM CI run: npm ci @@ -272,7 +269,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: latest - name: Install dependencies run: npm ci From d366e0266ed2af635579a092fb2c4eb4944fe862 Mon Sep 17 00:00:00 2001 From: Alexander Sapountzis Date: Mon, 9 Dec 2024 10:29:49 -0500 Subject: [PATCH 2/2] Remove node v24.x from matrix --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d78d85c64..60bbb4965 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -55,7 +55,7 @@ jobs: runs-on: 'ubuntu-latest' strategy: matrix: - node-version: [18.x, 19.x, 20.x, 21.x, 22.x, 23.x, 24.x] + node-version: [18.x, 19.x, 20.x, 21.x, 22.x, 23.x] steps: - name: Checkout uses: actions/checkout@v3