diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70ef347..a5fcfd5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,10 +108,12 @@ jobs: HOME: /root steps: - uses: actions/checkout@v7 - - name: enable pnpm - run: | - corepack enable - corepack prepare pnpm@11.1.3 --activate + - name: install pnpm + # Not corepack, unlike the other jobs: the image re-published under this tag + # carries Node 26, which no longer bundles corepack ("corepack: not found"), + # and `npm install -g corepack` collides with the image's own yarn binaries. + # The other jobs run setup-node 22, which still has it. Same pinned version. + run: npm install -g pnpm@11.1.3 - run: pnpm install --frozen-lockfile - run: pnpm test:browser diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf1c665..9a672d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,10 +127,9 @@ jobs: HOME: /root steps: - uses: actions/checkout@v7 - - name: enable pnpm - run: | - corepack enable - corepack prepare pnpm@11.1.3 --activate + - name: install pnpm + # See the same step in ci.yml: this image's Node no longer bundles corepack. + run: npm install -g pnpm@11.1.3 - run: pnpm install --frozen-lockfile - run: pnpm test:browser