diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 082d676c54..c3d6447527 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,6 +113,11 @@ jobs: node-version: ${{ env.NODE_JS }} registry-url: "https://registry.npmjs.org" + - uses: pnpm/action-setup@v4 + if: ${{ steps.release.outputs.releases_created }} + with: + version: 9 + - run: npm install if: ${{ steps.release.outputs.releases_created }} diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 53db4b85b3..f08eec2463 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -24,6 +24,10 @@ jobs: node-version: ${{ env.NODE_JS }} registry-url: "https://registry.npmjs.org" + - uses: pnpm/action-setup@v4 + with: + version: 9 + - run: npm install - run: npm run build