mirror of
https://github.com/swc-project/swc.git
synced 2024-10-05 12:49:21 +03:00
chore: Use .npmrc
This commit is contained in:
parent
48fd8ecb46
commit
da433862d4
2
.github/workflows/publish-core.yml
vendored
2
.github/workflows/publish-core.yml
vendored
@ -482,6 +482,8 @@ jobs:
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
npm config set provenance true
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||
echo "npmAlwaysAuth:true\n npmAuthToken: '$NPM_TOKEN'\n" >> ~/.yarnrc
|
||||
(cd packages/core && yarn workspaces foreach -Rt npm publish --tolerate-republish)
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user