cli: [Bug]: CI workflows that rely on Shopify CLI are broken on 3.69.0 (Authorization is required to continue)
Please confirm that you have:
- Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
Other
Expected behavior
The shopify app build command should work as expected.
Actual behavior
The shopify app build command has started throwing the following error on 3.69.0
To run this command, log in to shopify.
Authorization is required to continue, but the current environment does not support interactive prompts.
To resolve this, specify credentials in your environment, or run the command in an interactive environment such as yo
This has resulted in broken deployment pipelines.
Rolling back to 3.68.0 resolves the problem.
The closest reference I could find was this
Can we please get some insight into how to migrate CLI authorization from 3.69.0 onwards for CI environments to continue building and deploying as expected?
Verbose output
To run this command, log in to shopify.
Authorization is required to continue, but the current environment does not support interactive prompts.
To resolve this, specify credentials in your environment, or run the command in an interactive environment such as yo
Reproduction steps
- Have hosted CI solution working on 3.68.0
- npm update to 3.69.0
- Broken deploys
Operating System
Linux
Shopify CLI version (check your project’s package.json if you’re not sure)
3.69.0
Shell
bash
Node version (run node -v if you’re not sure)
No response
What language and version are you using in your application?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 16 (5 by maintainers)
@isaacroldan I don’t want to run
shopify app deployI want to runshopify app buildin a github workflow and I’m not super excited about giving github workflows access to our partner accountSame issue here, and
SHOPIFY_FLAG_FORCEfrom Shopify CLI documentation don’t fix this issue.How can we pass the SHOPIFY_CLI_PARTNERS_TOKEN if we just want to simply build/ and run the app without any CI/CD pipeline?