mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 23:55:49 +01: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
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue