From 125a8ab87e25f03cdfdb8923779ba4591a9cb932 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Jun 2026 15:14:07 +0000 Subject: [PATCH 1/2] chore: adopt corepack and pnpm 11.5.2 in CI - Enable pnpm via corepack in all workflows (drop pnpm/action-setup) - Bump packageManager to pnpm@11.5.2 - Run CI on Node.js 22, 24, 26; bump checkout/setup-node to v6 - Use frozen-lockfile installs in CI and drop the stale node-20 guard - Expand pnpm-workspace.yaml with pnpm 11 supply-chain settings https://claude.ai/code/session_01FGXecDpeHMLiYmwa8Y9CD9 --- .github/workflows/code-coverage.yaml | 13 ++++++------- .github/workflows/release.yaml | 13 ++++++------- .github/workflows/tests.yaml | 14 ++++++-------- package.json | 2 +- pnpm-workspace.yaml | 8 +++++++- 5 files changed, 26 insertions(+), 24 deletions(-) diff --git a/.github/workflows/code-coverage.yaml b/.github/workflows/code-coverage.yaml index 24821db..8ba0b93 100644 --- a/.github/workflows/code-coverage.yaml +++ b/.github/workflows/code-coverage.yaml @@ -20,19 +20,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - - name: Install pnpm - uses: pnpm/action-setup@v4 + - uses: actions/checkout@v6 - name: Use Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 24 - cache: 'pnpm' + + - name: Enable Corepack + run: corepack enable - name: Install Dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Build run: pnpm build diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f50f15e..666a1b9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,19 +20,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - - name: Install pnpm - uses: pnpm/action-setup@v4 + - uses: actions/checkout@v6 - name: Use Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 24 - cache: 'pnpm' + + - name: Enable Corepack + run: corepack enable - name: Install Dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Build run: pnpm build diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e436f78..4eba198 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -24,22 +24,20 @@ jobs: node-version: ['22', '24', '26'] steps: - - uses: actions/checkout@v4 - - - name: Install pnpm - uses: pnpm/action-setup@v4 + - uses: actions/checkout@v6 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} - cache: 'pnpm' + + - name: Enable Corepack + run: corepack enable - name: Install Dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Build - if: matrix.node-version != '20' run: pnpm build - name: Testing diff --git a/package.json b/package.json index ce25631..56d7020 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "engines": { "node": ">=22.12.0" }, - "packageManager": "pnpm@11.0.9", + "packageManager": "pnpm@11.5.2", "devDependencies": { "@biomejs/biome": "^2.4.14", "@faker-js/faker": "^10.4.0", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 8399078..8be8e3f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,9 @@ -minimumReleaseAge: 2880 +minimumReleaseAge: 10080 +minimumReleaseAgeStrict: true +minimumReleaseAgeIgnoreMissingTime: false +blockExoticSubdeps: true +strictDepBuilds: true +dangerouslyAllowAllBuilds: false + allowBuilds: esbuild: true From 2102aceb87de6744612e77611ba148243d46e26b Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Jun 2026 15:26:34 +0000 Subject: [PATCH 2/2] ci: use pnpm/action-setup instead of corepack enable pnpm/action-setup detects the pnpm version from the packageManager field, so the explicit corepack enable step is redundant. Restore the pnpm store cache that pairs with it. https://claude.ai/code/session_01FGXecDpeHMLiYmwa8Y9CD9 --- .github/workflows/code-coverage.yaml | 7 ++++--- .github/workflows/release.yaml | 7 ++++--- .github/workflows/tests.yaml | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/code-coverage.yaml b/.github/workflows/code-coverage.yaml index 8ba0b93..abce7c6 100644 --- a/.github/workflows/code-coverage.yaml +++ b/.github/workflows/code-coverage.yaml @@ -22,13 +22,14 @@ jobs: steps: - uses: actions/checkout@v6 + - name: Install pnpm + uses: pnpm/action-setup@v4 + - name: Use Node.js uses: actions/setup-node@v6 with: node-version: 24 - - - name: Enable Corepack - run: corepack enable + cache: 'pnpm' - name: Install Dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 666a1b9..38b836f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,13 +22,14 @@ jobs: steps: - uses: actions/checkout@v6 + - name: Install pnpm + uses: pnpm/action-setup@v4 + - name: Use Node.js uses: actions/setup-node@v6 with: node-version: 24 - - - name: Enable Corepack - run: corepack enable + cache: 'pnpm' - name: Install Dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 4eba198..dfcece5 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -26,13 +26,14 @@ jobs: steps: - uses: actions/checkout@v6 + - name: Install pnpm + uses: pnpm/action-setup@v4 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} - - - name: Enable Corepack - run: corepack enable + cache: 'pnpm' - name: Install Dependencies run: pnpm install --frozen-lockfile