Skip to content

Conversation

@snoble
Copy link
Contributor

@snoble snoble commented Dec 11, 2025

Adds corepack enable step before setup-node in the createRelease job to ensure the correct yarn version (4.9.2) is used as specified in package.json's packageManager field.

This matches the pattern used in tests.yml and fixes the error where yarn was falling back to the global version (1.22.22) instead of the project's specified version.

- Add corepack enable step before installing dependencies
- Ensures yarn version matches package.json engines field
- Use corepack: true in setup-node action
- This is the recommended way to enable Corepack in GitHub Actions
- Remove corepack: true from setup-node (not working with pinned version)
- Add separate 'Enable Corepack' step before setup-node
- Matches the pattern used in tests.yml that works correctly
@snoble snoble merged commit 01c20ce into dev Dec 11, 2025
5 checks passed
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.

3 participants