From 8b734dd777e8f25941dd764488ee3c13858cf947 Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Wed, 25 Feb 2026 14:00:19 -0500 Subject: [PATCH] ci: pin pnpm via packageManager field, drop hardcoded version pnpm/action-setup@v4 with version:10 resolved to pnpm@10.30.2, which returned 403 from npm registry on release day. Switch to reading the version from the packageManager field in package.json so CI uses the same exact pnpm version as local development. --- .github/workflows/ci.yml | 6 ------ package.json | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c943dce..7410948 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 - with: - version: 10 - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -33,8 +31,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 - with: - version: 10 - uses: actions/setup-node@v4 with: node-version: 24 @@ -48,8 +44,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 - with: - version: 10 - uses: actions/setup-node@v4 with: node-version: 24 diff --git a/package.json b/package.json index 9e1e209..f6a597c 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "engines": { "node": ">=20" }, + "packageManager": "pnpm@10.30.1", "scripts": { "build": "tsup", "typecheck": "tsc --noEmit",