Skip to content

Commit 24dd1cd

Browse files
saga-dasguptasaulecabrera
authored andcommitted
setting up snapit
1 parent 152feff commit 24dd1cd

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/snapit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)