Skip to content

[Bug]: Shopify CLI 3.65.0 does not reliably detect app ID is valid in --force mode, breaks CI pipelines #321

[Bug]: Shopify CLI 3.65.0 does not reliably detect app ID is valid in --force mode, breaks CI pipelines

[Bug]: Shopify CLI 3.65.0 does not reliably detect app ID is valid in --force mode, breaks CI pipelines #321

Workflow file for this run

name: Snapit
on:
issue_comment:
types:
- created
env:
PNPM_VERSION: '8.15.7'
jobs:
snapit:
name: Snapit
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/snapit' }}
runs-on: ubuntu-latest
steps:
- name: Checkout default branch
uses: actions/checkout@v4
- name: Setup deps
uses: ./.github/actions/setup-cli-deps
with:
node-version: 22.2.0
- name: Force snapshot changeset
run: "mv .changeset/force-snapshot-build.md.ignore .changeset/force-snapshot-build.md"
- name: Bundle
run: NODE_ENV=production pnpm nx run-many --target=bundle --all --skip-nx-cache --output-style=stream
- name: Duplicate CLI package
run: node bin/create-cli-duplicate-package.js
- name: Reinstall dependencies for the duplicated package
run: pnpm install --no-frozen-lockfile
- name: Create snapshot version
uses: Shopify/snapit@256ef2eae04f7b3b149b8a915a1bf00b020df8c5 # pin@main
with:
global_install: 'true'
github_comment_included_packages: 'shopify'
custom_message_suffix: "\n> After installing, validate the version by running just `shopify` in your terminal\n> If the versions don't match, you might have multiple global instances installed.\n> Use `which shopify` to find out which one you are running and uninstall it."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}