From 551a604bf0a9638f0920bdac099cb439fe7c54b0 Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Tue, 9 Apr 2024 01:28:14 +1200 Subject: [PATCH 1/2] fix: GitHub Actions now tests with different node versions --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98b3426..dbad8db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,14 +10,14 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 17.x] + node-version: [14.x, 16.x, 18.x, 20.x, 21.x] steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '12.x' + node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm ci - run: npm test From 3dc62a926efe96e9815b9860b85efc674f791d5a Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Tue, 9 Apr 2024 01:33:21 +1200 Subject: [PATCH 2/2] chore: bumped actions to v4 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbad8db..c89e251 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,9 @@ jobs: node-version: [14.x, 16.x, 18.x, 20.x, 21.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Install dependencies