mirror of
https://github.com/codex-team/editor.js
synced 2024-05-24 17:42:22 +02:00
Fix workflow code (#1672)
`The workflow is not valid. .github/workflows/publish-package-to-npm.yml: Unexpected tag '!github.event.release.prerelease'`
This commit is contained in:
parent
231d122949
commit
9d8998e9e7
2
.github/workflows/publish-package-to-npm.yml
vendored
2
.github/workflows/publish-package-to-npm.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
|||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish the package with a LATEST tag if this is not a prerelease version
|
||||
if: !github.event.release.prerelease
|
||||
if: github.event.release.prerelease != true
|
||||
run: yarn publish --access=public --tag=latest
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue