From c954ceaa8ae3e3eabcebf2e2c89f09e4e14cb830 Mon Sep 17 00:00:00 2001 From: Qingyu Wang <40660121+colinaaa@users.noreply.github.com> Date: Mon, 30 Mar 2026 00:05:29 +0800 Subject: [PATCH] ci: bump node version to 24 and remove global npm update --- .github/workflows/release.yml | 4 +--- .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e43fa07..c62144e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,14 +25,12 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: 22.22.2 + node-version: 24 # Update npm to the latest version to enable OIDC # Use corepack to install pnpm - name: Setup Package Managers run: | - npm install -g npm@latest - npm --version npm install -g corepack@latest --force corepack enable diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 60c7f34..c7530bf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: 22.22.2 + node-version: 24 cache: "pnpm" - name: Install Dependencies @@ -63,7 +63,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: 22.22.2 + node-version: 24 cache: "pnpm" - name: Install Dependencies