Skip to content

Commit 82d8235

Browse files
committed
chore: Use static .yarnrc
1 parent 5781d44 commit 82d8235

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/publish-core.yml

-3
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,6 @@ jobs:
482482
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
483483
run: |
484484
npm config set provenance true
485-
echo "npmAlwaysAuth:true\n npmAuthToken: '$NPM_TOKEN'\n" >> ~/.yarnrc
486485
yarn npm publish --access public --tag $NPM_TAG
487486
env:
488487
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -543,7 +542,6 @@ jobs:
543542
- name: Publish
544543
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
545544
run: |
546-
echo "npmAlwaysAuth:true\n npmAuthToken: '$NPM_TOKEN'\n" >> ~/.yarnrc
547545
(cd bindings/binding_core_wasm/pkg && yarn npm publish --access public --tag $NPM_TAG)
548546
env:
549547
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -595,7 +593,6 @@ jobs:
595593
- name: Publish
596594
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
597595
run: |
598-
echo "npmAlwaysAuth:true\n npmAuthToken: '$NPM_TOKEN'\n" >> ~/.yarnrc
599596
(cd bindings/binding_core_wasm/pkg && yarn npm publish --access public --tag $NPM_TAG)
600597
env:
601598
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.yarnrc.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
compressionLevel: mixed
2-
32
enableGlobalCache: false
4-
53
nodeLinker: node-modules
4+
5+
npmAlwaysAuth: true
6+
npmAuthToken: ${NPM_TOKEN-''}

0 commit comments

Comments
 (0)