chore: Use static .yarnrc

This commit is contained in:
강동윤 (Donny) 2024-05-29 00:35:29 +09:00
parent 5781d44267
commit 82d82356d5
2 changed files with 3 additions and 5 deletions

View File

@ -482,7 +482,6 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
npm config set provenance true
echo "npmAlwaysAuth:true\n npmAuthToken: '$NPM_TOKEN'\n" >> ~/.yarnrc
yarn npm publish --access public --tag $NPM_TAG
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -543,7 +542,6 @@ jobs:
- name: Publish
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
echo "npmAlwaysAuth:true\n npmAuthToken: '$NPM_TOKEN'\n" >> ~/.yarnrc
(cd bindings/binding_core_wasm/pkg && yarn npm publish --access public --tag $NPM_TAG)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -595,7 +593,6 @@ jobs:
- name: Publish
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
echo "npmAlwaysAuth:true\n npmAuthToken: '$NPM_TOKEN'\n" >> ~/.yarnrc
(cd bindings/binding_core_wasm/pkg && yarn npm publish --access public --tag $NPM_TAG)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,5 +1,6 @@
compressionLevel: mixed
enableGlobalCache: false
nodeLinker: node-modules
npmAlwaysAuth: true
npmAuthToken: ${NPM_TOKEN-''}