chore: Fix publish CI action

This commit is contained in:
강동윤 (Donny) 2024-05-28 16:16:43 +09:00
parent b4799f7e88
commit dfd5e8180d

View File

@ -483,7 +483,7 @@ jobs:
run: |
npm config set provenance true
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --workspaces --access public --tag $NPM_TAG
yarn npm publish --workspaces --access public --tag $NPM_TAG
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@ -544,7 +544,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
(cd bindings/binding_core_wasm/pkg && npm publish --access public --tag $NPM_TAG)
(cd bindings/binding_core_wasm/pkg && yarn npm publish --access public --tag $NPM_TAG)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@ -596,7 +596,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
(cd bindings/binding_core_wasm/pkg && npm publish --access public --tag $NPM_TAG)
(cd bindings/binding_core_wasm/pkg && yarn npm publish --access public --tag $NPM_TAG)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}