From afcb93daa5abf7e551f22eb99a80314960977512 Mon Sep 17 00:00:00 2001 From: Dong-Ha Kim Date: Mon, 27 Apr 2026 15:55:56 +0700 Subject: [PATCH] ci: bump Node to 24.x to fix release workflow Node 24 ships with npm 11.x which supports trusted publishing, so the self-upgrade step (which was failing with a `promise-retry` MODULE_NOT_FOUND during npm's own rebuild) is no longer needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/build-lint-test.yml | 2 +- .github/workflows/release.yml | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 3eaa0a2..48d54a9 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: pnpm - name: Install Foundry diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43bb95c..a34cdc2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,15 +22,12 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 - - name: Setup Node.js 22.x + - name: Setup Node.js 24.x uses: actions/setup-node@v4 with: - node-version: 22.x + node-version: 24.x registry-url: "https://registry.npmjs.org" - - name: Update npm - run: npm install -g npm@latest - - name: Install Dependencies run: pnpm i