Fix workflow code (#1672)
Fix workflow code (#1672)

`The workflow is not valid. .github/workflows/publish-package-to-npm.yml: Unexpected tag '!github.event.release.prerelease'`
codex-team/editor.js,codex-team/editor.js,codex-team/editor.js