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 d43484f commit ff40950Copy full SHA for ff40950
.github/workflows/publish.yml
@@ -62,9 +62,17 @@ jobs:
62
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63
MESSAGE: "Build ({sha}) {msg}"
64
65
- - name: NPM Publish
66
- if: success()
+ - name: NPM Publish as "latest"
+ if: success() && !github.event.release.prerelease
67
+ uses: JS-DevTools/npm-publish@v1
68
+ with:
69
+ token: ${{ secrets.NPM_TOKEN }}
70
+ check-version: true
71
+
72
+ - name: NPM Publish as "beta"
73
+ if: success() && github.event.release.prerelease
74
uses: JS-DevTools/npm-publish@v1
75
with:
76
token: ${{ secrets.NPM_TOKEN }}
77
check-version: true
78
+ tag: "beta"
0 commit comments