From 7ddb0f20bdd0ef29f4ab2e8dfcb115cd1a059190 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 14 Oct 2024 09:31:19 +0100 Subject: [PATCH 1/3] Test for later versions of Node --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 012a2bf..146bb29 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [7.x, 8.x, 10.x, 12.x] + node-version: [14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} From b93a92582bf6cec0e79ebb6de2ff4d29f99defc9 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 9 Feb 2026 11:06:51 +0000 Subject: [PATCH 2/3] Update Node.js versions and change npm command --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 146bb29..93a9f50 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,14 +7,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm install + - run: npm ci - run: npm test env: CI: true From 2413f5a4a71e3a8f1c45e532db2095f8b6c3a9c7 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 9 Feb 2026 11:07:28 +0000 Subject: [PATCH 3/3] Change npm ci to npm install in workflow --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 93a9f50..6718486 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm ci + - run: npm install - run: npm test env: CI: true