We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 152feff commit 24dd1cdCopy full SHA for 24dd1cd
.github/workflows/snapit.yml
@@ -0,0 +1,23 @@
1
+name: Snapit
2
+
3
+on:
4
+ issue_comment:
5
+ types:
6
+ - created
7
8
+jobs:
9
+ snapit:
10
+ name: Snapit
11
+ if: ${{ github.event.issue.pull_request && github.event.comment.body == '/snapit' }}
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout default branch
15
+ uses: actions/checkout@v4
16
17
+ - name: Create snapshot version
18
+ uses: Shopify/snapit@main
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
22
+ with:
23
+ build_script: npm install
0 commit comments