From c43ee317e7ab9b4b2aeaf99dc56f4c8f64633905 Mon Sep 17 00:00:00 2001 From: ryoppippi <1560508+ryoppippi@users.noreply.github.com> Date: Sat, 8 Nov 2025 02:22:59 +0000 Subject: [PATCH 1/2] chore: usedevEngines for managing node binary --- 2025/package.json | 10 +++-- 2025/pnpm-lock.yaml | 95 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 3 deletions(-) diff --git a/2025/package.json b/2025/package.json index a4159a9..f84dc13 100644 --- a/2025/package.json +++ b/2025/package.json @@ -46,10 +46,14 @@ "typescript": "^5.9.2", "unplugin-macros": "^0.17.2" }, + "devEngines": { + "runtime": { + "name": "node", + "version": "^24.5.0", + "onFail": "download" + } + }, "pnpm": { - "executionEnv": { - "nodeVersion": "22.13.1" - }, "onlyBuiltDependencies": [ "@tailwindcss/oxide", "esbuild", diff --git a/2025/pnpm-lock.yaml b/2025/pnpm-lock.yaml index 8ac95e5..1fcd942 100644 --- a/2025/pnpm-lock.yaml +++ b/2025/pnpm-lock.yaml @@ -69,6 +69,9 @@ importers: eslint-plugin-astro: specifier: ^1.3.1 version: 1.3.1(eslint@9.34.0(jiti@2.5.1)) + node: + specifier: runtime:^24.5.0 + version: runtime:24.11.0 prettier: specifier: ^3.6.2 version: 3.6.2 @@ -2616,6 +2619,96 @@ packages: node-releases@2.0.19: resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + node@runtime:24.11.0: + resolution: + type: variations + variants: + - resolution: + archive: tarball + bin: bin/node + integrity: sha256-AVGoDHkzXAEx+qQIOkGjWIQ1rqFNz2aDBq0+q/3nG2U= + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-aix-ppc64.tar.gz + targets: + - cpu: ppc64 + os: aix + - resolution: + archive: tarball + bin: bin/node + integrity: sha256-C+KrKBak+gLRrP8BSkNPKfVtjZVvWvapi3DO1sX00gE= + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-darwin-arm64.tar.gz + targets: + - cpu: arm64 + os: darwin + - resolution: + archive: tarball + bin: bin/node + integrity: sha256-OIRnHof0b3c4MtmKCmyrzF7E9jcITw81FbaeZuon8vE= + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-darwin-x64.tar.gz + targets: + - cpu: x64 + os: darwin + - resolution: + archive: tarball + bin: bin/node + integrity: sha256-R4bQDE0lnT/wsjKDB/dk7zztZfLW6VAtQz5o1mI4UJ0= + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-linux-arm64.tar.gz + targets: + - cpu: arm64 + os: linux + - resolution: + archive: tarball + bin: bin/node + integrity: sha256-fnukMm/oWI8R52PFUhe89F9eC3vL8eJru7siJamuRyE= + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-linux-ppc64le.tar.gz + targets: + - cpu: ppc64le + os: linux + - resolution: + archive: tarball + bin: bin/node + integrity: sha256-evDZLnSweiuOkQie5PzMe1Qz/YtjJZvO06NGaJmMvfc= + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-linux-s390x.tar.gz + targets: + - cpu: s390x + os: linux + - resolution: + archive: tarball + bin: bin/node + integrity: sha256-s8BxzfR6q4Z8OyqihyV98S7F18liv5IrMv0zImxClf0= + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-linux-x64.tar.gz + targets: + - cpu: x64 + os: linux + - resolution: + archive: zip + bin: node.exe + integrity: sha256-EtOxqpaWt0EeEVpPoq71f5VWC17ha7Ys1phD5TXscr4= + prefix: node-v24.11.0-win-arm64 + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-win-arm64.zip + targets: + - cpu: arm64 + os: win32 + - resolution: + archive: zip + bin: node.exe + integrity: sha256-EFRUC84itU7H5Q68B47F0JBwCndldgelj2pk3yH0n90= + prefix: node-v24.11.0-win-x64 + type: binary + url: https://nodejs.org/download/release/v24.11.0/node-v24.11.0-win-x64.zip + targets: + - cpu: x64 + os: win32 + version: 24.11.0 + hasBin: true + normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -6560,6 +6653,8 @@ snapshots: node-releases@2.0.19: {} + node@runtime:24.11.0: {} + normalize-path@3.0.0: {} nth-check@2.1.1: From f54a944183d0e773c6caf13bfdad67a9f3d9ce4b Mon Sep 17 00:00:00 2001 From: ryoppippi <1560508+ryoppippi@users.noreply.github.com> Date: Sat, 8 Nov 2025 02:26:18 +0000 Subject: [PATCH 2/2] ci: use package_json_file instead of version in pnpm actions --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8cb77f5..168c616 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,8 +22,8 @@ jobs: # pnpm - uses: pnpm/action-setup@v4 with: + package_json_file: ./2025/package.json run_install: false - version: 10.4.0 - name: build 2025 working-directory: ./2025 run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5cfa9e9..6780ae7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,8 +15,8 @@ jobs: uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: + package_json_file: ./2025/package.json run_install: false - version: 10.4.0 - run: pnpm install --frozen-lockfile - run: pnpm check - run: pnpm lint