diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6253078..e0494cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,10 @@ jobs: with: # Tests run git log against this repository and need the full history. fetch-depth: 0 + # pnpm version is pinned via packageManager in package.json; the action + # reads it from there (specifying both makes action-setup fail on + # purpose with ERR_PNPM_BAD_PM_VERSION). - uses: pnpm/action-setup@v6 - with: - version: 11 - uses: actions/setup-node@v7 with: node-version: 22 @@ -69,9 +70,10 @@ jobs: with: # Tests run git log against this repository and need the full history. fetch-depth: 0 + # pnpm version is pinned via packageManager in package.json; the action + # reads it from there (specifying both makes action-setup fail on + # purpose with ERR_PNPM_BAD_PM_VERSION). - uses: pnpm/action-setup@v6 - with: - version: 11 - uses: actions/setup-node@v7 with: node-version: 22 @@ -109,9 +111,10 @@ jobs: steps: - uses: actions/checkout@v7 + # pnpm version is pinned via packageManager in package.json; the action + # reads it from there (specifying both makes action-setup fail on + # purpose with ERR_PNPM_BAD_PM_VERSION). - uses: pnpm/action-setup@v6 - with: - version: 11 - uses: actions/setup-node@v7 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32b625e..670dfa7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,9 +51,10 @@ jobs: # Tests run git log against this repository and need full history. fetch-depth: 0 + # pnpm version is pinned via packageManager in package.json; the action + # reads it from there (specifying both makes action-setup fail on + # purpose with ERR_PNPM_BAD_PM_VERSION). - uses: pnpm/action-setup@v6 - with: - version: 11 - uses: actions/setup-node@v7 with: