Fix npm publish token (#515)

Let's see if it will fix the issue
This commit is contained in:
Bogdan Chadkin authored and GitHub committed 2022-11-26 01:40:12 +03:00
1 parent 4c8989784b
commit 44e5c8bc77
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -17,8 +17,8 @@ jobs:
node-version: 16
registry-url: "https://registry.npmjs.org"
cache: "yarn"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn
- run: yarn turbo run build
- run: yarn turbo run publish-to-npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+1 -1
View File
@@ -9,5 +9,5 @@ echo Current $npm_package_name $NPM_VERSION
if [[ $PKG_VERSION != $NPM_VERSION ]]; then
echo Publishing $npm_package_name $PKG_VERSION
npm publish --access public
npm publish --access public --registry 'https://registry.npmjs.org/'
fi