From cdf211648c56b83987d3fd286f560239420f3cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=A5=E9=BA=92?= Date: Fri, 5 Jun 2026 10:50:57 +0800 Subject: [PATCH] chore(ci): upgrade actions to v6 for Node 24 compatibility GitHub will force Node.js 24 for all actions starting June 16, 2026. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/publish.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4dd52f..87a0f0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,11 @@ jobs: name: lint + typecheck + test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: "22" cache: pnpm diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 643069a..bd91e89 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,11 +29,11 @@ jobs: contents: write # push lightweight tag to origin id-token: write # OIDC for npm Trusted Publishing + provenance steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: "24" cache: pnpm @@ -61,11 +61,11 @@ jobs: contents: read # no tag, no Release; just publish id-token: write # OIDC for npm Trusted Publishing + provenance steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: "24" cache: pnpm