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 67a7d80 commit da59c64Copy full SHA for da59c64
1 file changed
.github/workflows/ci.yml
@@ -47,4 +47,10 @@ jobs:
47
- name: Run tests
48
run: npm test
49
50
- - run: npx pkg-pr-new publish
+ - name: Publish preview package for pull requests
51
+ if: github.event_name == 'pull_request'
52
+ run: npx pkg-pr-new publish --comment=update
53
+
54
+ - name: Publish preview package for main
55
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
56
+ run: npx pkg-pr-new publish --comment=off
0 commit comments