From a1dfcb40f717f3946ed2521c14273d939b88e622 Mon Sep 17 00:00:00 2001 From: arkon <4098258+arkon@users.noreply.github.com> Date: Fri, 14 Nov 2025 22:37:44 -0500 Subject: [PATCH 1/4] Test against more Node.js versions --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fae7360..9a6103a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - node-version: [16, 18] + node-version: [16, 18, 20, 22, 24] steps: - uses: actions/checkout@v3 From 03ae581475a15c4a7e79270d8e3ce25785ff5ac7 Mon Sep 17 00:00:00 2001 From: arkon <4098258+arkon@users.noreply.github.com> Date: Fri, 14 Nov 2025 22:38:51 -0500 Subject: [PATCH 2/4] Bump action versions --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a6103a..cdf42c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,9 +15,9 @@ jobs: os: [ubuntu-latest, macOS-latest, windows-latest] node-version: [16, 18, 20, 22, 24] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} From dd2eb3c1590b0bbb815de9d4105cc0ea459e61a6 Mon Sep 17 00:00:00 2001 From: arkon <4098258+arkon@users.noreply.github.com> Date: Fri, 14 Nov 2025 22:39:34 -0500 Subject: [PATCH 3/4] Configure concurrency --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cdf42c1..97b237b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: ${{ matrix.os }} with Node.js ${{ matrix.node-version }} From f5aca3cb088f373fa06897d83f1d28fd6439949e Mon Sep 17 00:00:00 2001 From: arkon <4098258+arkon@users.noreply.github.com> Date: Fri, 14 Nov 2025 22:43:58 -0500 Subject: [PATCH 4/4] Ensure distutils is available for macOS + Node.js 16 --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 97b237b..6ad0420 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,10 @@ jobs: with: node-version: ${{ matrix.node-version }} + - name: macOS + Node.js 16 dependencies fix + if: matrix.os == 'macos-latest' && matrix.node-version == 16 + run: brew install python-setuptools + - run: npm install - name: Run tests on UNIX platforms