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

Allow overriding NODE_ENV with STORYBOOK_NODE_ENV #879

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

tmeasday
Copy link
Member

@tmeasday tmeasday commented Dec 20, 2023

Rather than always passing NODE_ENV=production to the build-storybook command, allow overriding with STORYBOOK_NODE_ENV if set.

Fix for #865.

📦 Published PR as canary version: 10.1.1--canary.879.7272293047.0

✨ Test out this PR locally via:

npm install chromatic@10.1.1--canary.879.7272293047.0
# or 
yarn add chromatic@10.1.1--canary.879.7272293047.0

@ghengeveld ghengeveld added release Auto: Create a `latest` release when merged patch Auto: Increment the patch version when merged labels Dec 21, 2023
@tmeasday tmeasday added this pull request to the merge queue Dec 21, 2023
Merged via the queue into main with commit 3ede8ba Dec 21, 2023
22 of 23 checks passed
@tmeasday tmeasday deleted the tom/865-add-STORYBOOK_NODE_ENV branch December 21, 2023 23:05
@ghengeveld
Copy link
Member

🚀 PR was released in v10.2.0 🚀

@ghengeveld ghengeveld added the released Verdict: This issue/pull request has been released label Dec 21, 2023
@AmirL
Copy link

AmirL commented Jan 30, 2024

Hi @tmeasday

Shouldn't it be mentioned in the docs? https://www.chromatic.com/docs/github-actions/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Auto: Increment the patch version when merged release Auto: Create a `latest` release when merged released Verdict: This issue/pull request has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants