From 48a687d577034589c5ff27b9fe279b596df8bc99 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Tue, 14 Apr 2026 15:33:45 +0200 Subject: [PATCH 1/2] chore: force Node 24 for GitHub Actions --- .github/workflows/ci.yml | 3 +++ .github/workflows/claude.yml | 3 +++ .github/workflows/docker-mcp.yml | 3 +++ .github/workflows/release.yml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9ad9e8e..aeb6585a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,9 @@ on: schedule: - cron: '0 8 * * *' +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' + jobs: lockfile: name: Lockfile guard diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 080dacb6..0e92689a 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -10,6 +10,9 @@ on: pull_request_review: types: [submitted] +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' + jobs: check-permissions: runs-on: ubuntu-latest diff --git a/.github/workflows/docker-mcp.yml b/.github/workflows/docker-mcp.yml index 609ecb67..09bfa817 100644 --- a/.github/workflows/docker-mcp.yml +++ b/.github/workflows/docker-mcp.yml @@ -9,6 +9,9 @@ on: description: 'MCP server version to build (e.g. 0.3.8)' required: true +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' + jobs: docker: name: Build and push MCP server image diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f9b7415..2e882b74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: branches: - main +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' + jobs: release: name: Changesets release From fefa643a3e3bd1439d61c844826f71c77d8dc16d Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Tue, 14 Apr 2026 15:52:49 +0200 Subject: [PATCH 2/2] chore: upgrade GitHub Actions for Node 24 --- .github/workflows/ci.yml | 37 +++++++++++++++----------------- .github/workflows/claude.yml | 7 ++---- .github/workflows/docker-mcp.yml | 11 ++++------ .github/workflows/release.yml | 7 ++---- 4 files changed, 25 insertions(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aeb6585a..e4465a09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,16 +11,13 @@ on: schedule: - cron: '0 8 * * *' -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' - jobs: lockfile: name: Lockfile guard runs-on: ubuntu-latest if: github.event_name == 'pull_request' || github.event_name == 'push' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Ensure yarn.lock matches dependency changes @@ -98,13 +95,13 @@ jobs: name: Build package runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: 22 - run: corepack yarn - run: corepack yarn run pack - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: package path: '*.tgz' @@ -113,8 +110,8 @@ jobs: name: Verify (fast) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: 24 - run: corepack yarn @@ -124,8 +121,8 @@ jobs: name: Verify (full) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: 24 - run: corepack yarn @@ -141,8 +138,8 @@ jobs: - 22 - 24 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - run: corepack yarn @@ -154,7 +151,7 @@ jobs: if: matrix.node != 24 - name: Upload coverage reports artifact if: matrix.node == 24 - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: coverage-reports path: packages/node/coverage/ @@ -170,8 +167,8 @@ jobs: env: NODE_OPTIONS: --trace-deprecation --trace-warnings steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: 24 - run: corepack yarn @@ -210,7 +207,7 @@ jobs: # *** BEGIN PUBLISH STATIC SITE STEPS *** # Use the standard checkout action to check out the destination repo to a separate directory # See https://github.com/mifi/github-action-push-static - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ssh-key: ${{ secrets.COVERAGE_REPO_SSH_PRIVATE_KEY }} repository: transloadit/node-sdk-coverage @@ -236,13 +233,13 @@ jobs: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' steps: - - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 + - uses: actions/checkout@v6 + - uses: actions/download-artifact@v8 with: name: coverage-reports path: coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v6 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage/lcov.info diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 0e92689a..35d54e19 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -10,9 +10,6 @@ on: pull_request_review: types: [submitted] -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' - jobs: check-permissions: runs-on: ubuntu-latest @@ -21,7 +18,7 @@ jobs: steps: - name: Check user permissions id: check - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | // Get the username of the person who triggered the event @@ -72,7 +69,7 @@ jobs: id-token: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 1 diff --git a/.github/workflows/docker-mcp.yml b/.github/workflows/docker-mcp.yml index 09bfa817..3150053c 100644 --- a/.github/workflows/docker-mcp.yml +++ b/.github/workflows/docker-mcp.yml @@ -9,9 +9,6 @@ on: description: 'MCP server version to build (e.g. 0.3.8)' required: true -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' - jobs: docker: name: Build and push MCP server image @@ -23,7 +20,7 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Extract version id: version @@ -36,15 +33,15 @@ jobs: fi echo "version=${VERSION}" >> "$GITHUB_OUTPUT" - - uses: docker/setup-buildx-action@v3 + - uses: docker/setup-buildx-action@v4 - - uses: docker/login-action@v3 + - uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v6 + - uses: docker/build-push-action@v7 with: context: packages/mcp-server file: packages/mcp-server/Dockerfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e882b74..ace7f123 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,9 +5,6 @@ on: branches: - main -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' - jobs: release: name: Changesets release @@ -17,10 +14,10 @@ jobs: pull-requests: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: 22 registry-url: https://registry.npmjs.org