Skip to content

Use corepack to pin pnpm version#1441

Merged
int128 merged 1 commit intomainfrom
bot--tasks-corepack-pnpm
Apr 26, 2026
Merged

Use corepack to pin pnpm version#1441
int128 merged 1 commit intomainfrom
bot--tasks-corepack-pnpm

Conversation

@int128-actions-tanpopo
Copy link
Copy Markdown
Contributor

Pin the pnpm version using corepack.
This ensures that all developers and CI environments use the same version of pnpm, which can help avoid issues caused by version discrepancies.

Before:

- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
  with:
    node-version-file: .node-version
- run: npm install -g pnpm@latest-10
- run: pnpm i

After:

- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
  with:
    node-version-file: .node-version
- run: npm install -g corepack
- run: corepack enable
- run: pnpm i

@int128-actions-tanpopo int128-actions-tanpopo Bot requested a review from int128 April 26, 2026 08:01
@int128 int128 merged commit bd8c374 into main Apr 26, 2026
4 checks passed
@int128 int128 deleted the bot--tasks-corepack-pnpm branch April 26, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant