mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 09:38:16 +03:00
chore: Use static .yarnrc
This commit is contained in:
parent
5781d44267
commit
82d82356d5
3
.github/workflows/publish-core.yml
vendored
3
.github/workflows/publish-core.yml
vendored
@ -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 }}
|
||||
|
@ -1,5 +1,6 @@
|
||||
compressionLevel: mixed
|
||||
|
||||
enableGlobalCache: false
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
npmAlwaysAuth: true
|
||||
npmAuthToken: ${NPM_TOKEN-''}
|
||||
|
Loading…
Reference in New Issue
Block a user