Skip to content

Commit

Permalink
ci(publish): fix failed to publish to npmjs (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
laggage authored Jan 19, 2023
1 parent 8fd1235 commit f1566d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"phantomjs-test": "yarn -s grunt phantomjs-auto",
"phantomjs-test-manual": "yarn -s grunt phantomjs-manual",
"bedrock": "bedrock --customRoutes modules/tinymce/src/core/test/json/routes.json --polyfills Promise Symbol",
"test-one": "yarn tsc && yarn bedrock-auto -b chrome-headless -f"
"test-one": "yarn tsc && yarn bedrock-auto -b chrome-headless -f",
"publish-ci": "extract-zip ./modules/tinymce/dist/tinymce_${VERSION}_component.zip ${PWD}/modules/tinymce/dist/tinymce_component && npm publish --access public ./modules/tinymce/dist/tinymce_component"
},
"devDependencies": {
"@ephox/bedrock-client": "^11.3.2",
Expand All @@ -48,6 +49,7 @@
"emojilib": "^2.4.0",
"eslint": "^7.0.0",
"eslint-plugin-notice": "^0.9.10",
"extract-zip": "^2.0.1",
"fast-check": "^1.18.1",
"grunt": "^1.0.2",
"grunt-contrib-clean": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4942,7 +4942,7 @@ extglob@^2.0.4:
snapdragon "^0.8.1"
to-regex "^3.0.1"

extract-zip@^2.0.0:
extract-zip@^2.0.0, extract-zip@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a"
integrity sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==
Expand Down

0 comments on commit f1566d4

Please sign in to comment.