We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e49a6c commit 34ed280Copy full SHA for 34ed280
1 file changed
.github/workflows/build-release.yml
@@ -253,14 +253,11 @@ jobs:
253
with:
254
name: release-build
255
path: _release/
256
- - uses: JS-DevTools/npm-publish@v1
+ - name: Publish to npm with tag ${{ github.event.inputs.tag_name }}
257
if: ${{ github.event.inputs.tag_name }}
258
- with:
259
- token: ${{ secrets.NPM_TOKEN }}
260
- package: ./_release/package.json
261
- tag: ${{ github.event.inputs.tag_name }}
262
+ working-directory: _release
+ run: yarn publish --tag ${{ github.event.inputs.tag_name }}
+ - name: Publish to npm with tag latest
263
if: ${{ !github.event.inputs.tag_name }}
264
265
266
+ run: yarn publish
0 commit comments