From ee1736c839b4369a11a302dd7aaf804e797ee8a8 Mon Sep 17 00:00:00 2001 From: Nate Fischer Date: Sat, 6 Jun 2026 10:48:00 -0700 Subject: [PATCH] chore: update GitHub Actions No change to logic. This updates GitHub Actions to their latest versions. This also ensures we are testing up through Node v26. The most important part of this is that it updates codecov to v7, which contains a major bug fix that was blocking all codecov uploads (and failing all CI test runs). --- .github/workflows/main.yml | 7 ++++--- scripts/check-node-support.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d7e426..c12d987 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,20 +13,21 @@ jobs: - 20 - 22 - 24 + - 26 os: - ubuntu-latest - macos-latest - windows-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} - run: npm install - run: npm run test - run: npm run check-node-support - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true diff --git a/scripts/check-node-support.js b/scripts/check-node-support.js index b823fbf..525ffc0 100755 --- a/scripts/check-node-support.js +++ b/scripts/check-node-support.js @@ -9,7 +9,7 @@ var shell = require('shelljs'); // This is the authoritative list of supported node versions. var MIN_NODE_VERSION = 20; -var MAX_NODE_VERSION = 24; +var MAX_NODE_VERSION = 26; function checkReadme(minNodeVersion) { var start = '';