From 200e15c01a7a818f701accd3680bca26f3ac98a6 Mon Sep 17 00:00:00 2001 From: arlo Date: Tue, 8 Sep 2026 16:22:56 +0800 Subject: [PATCH] ci: migrate to pnpm/setup --- .github/workflow.lock.yml | 19 ++++++++++++++++--- .github/workflows/ci.yml | 15 +++++++++++---- .github/workflows/release-commit.yml | 2 ++ .github/workflows/release.yml | 2 ++ .github/workflows/src/ci.yml | 17 ++++++++++++++--- 5 files changed, 45 insertions(+), 10 deletions(-) diff --git a/.github/workflow.lock.yml b/.github/workflow.lock.yml index 97967a166..26300809a 100644 --- a/.github/workflow.lock.yml +++ b/.github/workflow.lock.yml @@ -1,3 +1,5 @@ +# This file is generated by actionspack. Do not edit it manually. + lockfileVersion: 1 entries: .github/workflows/src/ci.yml: @@ -6,8 +8,8 @@ entries: - package: github:actions/checkout requested: v5 foundAt: .github/workflows/src/ci.yml#jobs.lint.steps[0].uses - - package: github:pnpm/action-setup - requested: v6 + - package: github:pnpm/setup + requested: 703c52620218391530e48b9e8870d5c0082e1b9b foundAt: .github/workflows/src/ci.yml#jobs.lint.steps[1].uses - package: github:actions/setup-node requested: v5 @@ -56,8 +58,19 @@ packages: external: true contentDigest: sha256:7903b0a83562cd93df4d70181e610d9a4d6aedf76c83197208a6fdc13614d6f1 dependencies: [] - requested: v6 + requested: 0e279bb959325dab635dd2c09392533439d90093 resolved: 0e279bb959325dab635dd2c09392533439d90093 + github:pnpm/setup: + source: github + owner: pnpm + repo: setup + path: . + type: external-action + external: true + contentDigest: sha256:b80a71fc617ff0599bb5c6036e0887715f1b95d28306b346e3537e29ddecd464 + dependencies: [] + requested: 703c52620218391530e48b9e8870d5c0082e1b9b + resolved: 703c52620218391530e48b9e8870d5c0082e1b9b github:sxzz/workflows/.github/workflows/release-commit.yml: source: github owner: sxzz diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d294da3df..b26e7ab1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,5 @@ +# This file is generated by actionspack. Do not edit it manually. + name: CI on: @@ -18,7 +20,9 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Install pnpm - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 + uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b + with: + install: false - name: Set node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e @@ -40,7 +44,6 @@ jobs: - name: Typecheck run: nr typecheck - # Non-blocking until the existing findings are triaged; see knip.jsonc. - name: Knip run: nr knip continue-on-error: true @@ -60,7 +63,9 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Install pnpm - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 + uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b + with: + install: false - name: ${{ format('Set node {0}', matrix.node) }} uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e @@ -85,7 +90,9 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Install pnpm - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 + uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b + with: + install: false - name: Set node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e diff --git a/.github/workflows/release-commit.yml b/.github/workflows/release-commit.yml index fd57c94de..c005d246c 100644 --- a/.github/workflows/release-commit.yml +++ b/.github/workflows/release-commit.yml @@ -1,3 +1,5 @@ +# This file is generated by actionspack. Do not edit it manually. + name: Publish Any Commit on: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee92223f0..62d2923ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,5 @@ +# This file is generated by actionspack. Do not edit it manually. + name: Release on: diff --git a/.github/workflows/src/ci.yml b/.github/workflows/src/ci.yml index 4c26bcaaa..6da4fb39a 100644 --- a/.github/workflows/src/ci.yml +++ b/.github/workflows/src/ci.yml @@ -19,7 +19,9 @@ jobs: - uses: actions/checkout@v5 - name: Install pnpm - uses: pnpm/action-setup@v6 + uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b + with: + install: false - name: Set node uses: actions/setup-node@v5 @@ -41,6 +43,11 @@ jobs: - name: Typecheck run: nr typecheck + # Non-blocking until the existing findings are triaged; see knip.jsonc. + - name: Knip + run: nr knip + continue-on-error: true + test: runs-on: ${{ matrix.os }} @@ -54,7 +61,9 @@ jobs: - uses: actions/checkout@v5 - name: Install pnpm - uses: pnpm/action-setup@v6 + uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b + with: + install: false - name: Set node ${{ matrix.node }} uses: actions/setup-node@v5 @@ -80,7 +89,9 @@ jobs: - uses: actions/checkout@v5 - name: Install pnpm - uses: pnpm/action-setup@v6 + uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b + with: + install: false - name: Set node uses: actions/setup-node@v5