Skip to content

Commit

Permalink
chore: Use static .yarnrc
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed May 28, 2024
1 parent 5781d44 commit 82d8235
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
5 changes: 3 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

npmAlwaysAuth: true
npmAuthToken: ${NPM_TOKEN-''}

0 comments on commit 82d8235

Please sign in to comment.