Skip to content

fix: enable Corepack before the Yarn cache in the other actions - #343

Merged
cryptodev-2s merged 1 commit into
mainfrom
fix/actions-corepack-before-yarn-cache
Nov 18, 2026
Merged

cryptodev-2s merged 1 commit into
mainfrom
fix/actions-corepack-before-yarn-cache

Conversation

@cryptodev-2s

@cryptodev-2s cryptodev-2s commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Splits the Node setup in the post merge validation, Playwright test health report and Slack release testing actions so Corepack is enabled before the Yarn cache probe, like #342 does for the flaky test report.


Note

Low Risk
CI workflow ordering only; no application or secrets logic changes.

Overview
Aligns Playwright test health report, post-merge validation, and publish Slack release testing status composite actions with the flaky test report pattern: Corepack is enabled before Yarn caching.

Each action now runs actions/setup-node once to install Node from ./github-tools/.nvmrc, then a dedicated corepack enable step under ./github-tools, then a second setup-node step that turns on the Yarn cache from yarn.lock. Playwright also stops chaining corepack enable into the install command so install is only yarn --immutable.

Reviewed by Cursor Bugbot for commit fa56df8. Bugbot is set up for automated code reviews on this repo. Configure here.

@cryptodev-2s cryptodev-2s self-assigned this Nov 18, 2026
@cryptodev-2s
cryptodev-2s marked this pull request as ready for review November 18, 2026 11:50
@cryptodev-2s
cryptodev-2s force-pushed the fix/actions-corepack-before-yarn-cache branch from 902f2ae to 9d36963 Compare November 18, 2026 11:50
@cryptodev-2s
cryptodev-2s force-pushed the fix/actions-corepack-before-yarn-cache branch from 9d36963 to fa56df8 Compare November 18, 2026 11:52
@cryptodev-2s

Copy link
Copy Markdown
Contributor Author

@Mrtenz it looks like this is related to #314 (comment)

@mcmire mcmire left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why action-checkout-and-setup is not being used for these workflows 🤔 That automatically enables Corepack.

In any case this looks good.

@cryptodev-2s
cryptodev-2s merged commit 6fa04ca into main Nov 18, 2026
12 checks passed
@cryptodev-2s
cryptodev-2s deleted the fix/actions-corepack-before-yarn-cache branch November 18, 2026 16:17
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