We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91838fe commit 8b9a99dCopy full SHA for 8b9a99d
1 file changed
.github/workflows/main.yml
@@ -58,9 +58,16 @@ jobs:
58
run: npm install
59
- name: Run linting, tests, minify
60
run: grunt
61
- - name: Deploy
+ - name: Deploy (release)
62
+ if: github.event_name == 'release'
63
+ run: npm publish --dry-run
64
+ env:
65
+ NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
66
+ - name: Deploy (release candidate)
67
if: github.event_name == 'push'
- run: npm publish
68
+ run: |
69
+ npm --no-git-tag-version version prerelease
70
+ npm publish --tag next --dry-run
71
env:
72
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
73
deploy_npm:
@@ -80,7 +87,7 @@ jobs:
80
87
81
88
82
89
- name: Deploy
83
- if: github.event_name == 'release'
84
90
+ if: github.event_name == 'push'
91
85
92
86
93
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments