diff --git a/.github/workflows/snapit.yml b/.github/workflows/snapit.yml new file mode 100644 index 00000000..324de12f --- /dev/null +++ b/.github/workflows/snapit.yml @@ -0,0 +1,26 @@ +name: Snapit + +on: + issue_comment: + types: + - created + +jobs: + snapit: + name: Snapit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }} + + - uses: ./.github/workflows/actions/prepare + + - name: Create snapshot + uses: Shopify/snapit@main + env: + GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + with: + build_script: pnpm build + comment_command: /snapit