-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Adds environment variable validation #1198
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Orca Security Scan Summary
Status | Check | Issues by priority | |
---|---|---|---|
![]() |
Secrets | ![]() ![]() ![]() ![]() |
View in Orca |
i've also seen multiple matters of confusion around these Shopify variables — including my own — and upon requesting clarification the responses have been very dismissive — including to my own. it's clearly a point of confusion for many so perhaps the relevant docs aren't quite clear enough and/or could be better |
@fucha-co happy to make changes! Can you explain what is unclear? Do you have suggestions on what changes should be made? |
* Adds environment variable validation * Adds bracket checking in SHOPIFY_STORE_DOMAIN * Prettier * Adds link --------- Co-authored-by: Lee Robinson <lrobinson2011@gmail.com>
We get 1 -3 issues or comments a week about build errors (see #1189 and #1197, for example), which are due to missing environment variables.
This PR add some validation during the build process to ensure absolutely required env vars are present and throws a clearer error message.