mirror of
https://github.com/codex-team/editor.js
synced 2024-05-18 14:26:48 +02:00
Use "npm dist-tag add" instead of "yarn tag add" (#1693)
* Use "npm dist-tag add" instead of "yarn tag add" `yarn tag add` somehow throws an error for existing versions, but `npm dist-tag add` works correctly. resolve #1692 * Remove space
This commit is contained in:
parent
041470d171
commit
ce1d394f44
2
.github/workflows/publish-package-to-npm.yml
vendored
2
.github/workflows/publish-package-to-npm.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
|
||||
- name: Add LATEST tag for the published package if this is not a prerelease version
|
||||
if: github.event.release.prerelease != true
|
||||
run: yarn tag add ${{ steps.package.outputs.name }}@${{ steps.package.outputs.version }} latest
|
||||
run: npm dist-tag add ${{ steps.package.outputs.name }}@${{ steps.package.outputs.version }} latest
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue