We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa8eb52 commit 0be83f0Copy full SHA for 0be83f0
.github/workflows/node-publish.yml
@@ -30,7 +30,8 @@ jobs:
30
31
yarn build
32
33
- # print the NPM user name for validation
+ npm config set registry //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
34
+
35
npm whoami
36
37
VERSION=$(node -p "require('./package.json').version" )
@@ -44,7 +45,8 @@ jobs:
44
45
46
echo "Publishing $VERSION with $NPM_TAG tag."
47
- yarn workspace @imagekit/editor npm publish --tag "$NPM_TAG" --provenance --access public
48
+ cd packages/imagekit-editor
49
+ npm publish --tag "$NPM_TAG" --provenance --access public
50
51
env:
52
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
0 commit comments