-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure GitHub Action runs in specified version of node #1006
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences🚀 Don’t miss a bit, follow what’s new on Codacy. Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
98e0b88
to
fb8f7b8
Compare
…ning builds with the correct version
Welp, turns out that yarn 4 does NOT enforce the node version specified in engines anymore. So even if we have a version of node set, but yarn is running in a different version of node, the commands won't fail. Without that enforcement, this test won't work. This reverts commit 7539866.
When set to true, this ran the commands with the node version set by the action (node20), not the version set in the workflow.
fb8f7b8
to
6fc55b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Gert Hengeveld <[email protected]>
eba7ae9
to
710c589
Compare
🚀 PR was released in |
Revert this small bit that was added in #991.
It was not necessary for the change made in that PR, and it caused the Storybook build command to run with the node version specified by the GitHub Action (node 20), instead of the version of node that is installed in the workflow using something like
actions/setup-node
.Fixes #1000
Fixes #1002
📦 Published PR as canary version:
11.5.5--canary.1006.9486086143.0
✨ Test out this PR locally via: