Skip to content
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

Fix CI for PRs on next #690

Merged
merged 2 commits into from
Aug 16, 2023
Merged

Fix CI for PRs on next #690

merged 2 commits into from
Aug 16, 2023

Conversation

micgro42
Copy link
Collaborator

This is the equivalent of #688 for the next branch. However, here we do not need the chromatic update, because we're already on Chromatic v6.

Otherwise, CI would use whatever lerna is installed globally, which
currently seems to be lerna v7 which no longer has a bootstrap command
and thus fails.
If the binary to execute does not exist in `node_modules/.bin/`, then
npx will install the package. In the current setup, that would install
@storybook/cli 7.x
@github-actions
Copy link

@micgro42 micgro42 merged commit a114112 into next Aug 16, 2023
6 checks passed
@micgro42 micgro42 deleted the chore/next/fixCIonMasterAfterMerge branch August 16, 2023 08:26
micgro42 added a commit that referenced this pull request Aug 16, 2023
When this action runs, `hashFiles('*/dist')` would always return the empty string, because it does not match any files. That means that the cache key would always be identical: `linux-`.

This should be merged after #690

Co-authored-by: Guergana Tzatchkova <guergana.tzatchkova@wikimedia.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants