Skip to content

Commit

Permalink
New snapit
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacroldan committed Aug 19, 2024
1 parent be03fd5 commit 67ae918
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/snapit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: github-context-test
name: snapit-v2

on:
issue_comment:
Expand All @@ -14,8 +14,17 @@ jobs:
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/snapit' }}
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
- name: Checkout current branch
uses: actions/checkout@v4

- name: Create snapshot version
uses: Shopify/snapit@0c0d2dd62c9b0c94b7d03e1f54e72f18548e7752 # pin to a specific commit
with:
global_install: 'true'
github_comment_included_packages: '@shopify/cli'
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."
build_script: "pnpm nx run-many --target=bundle --all --skip-nx-cache --output-style=stream"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 67ae918

Please sign in to comment.