mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
parent
b895c29909
commit
dd977ff80c
2
.github/workflows/publish-node.yml
vendored
2
.github/workflows/publish-node.yml
vendored
@ -151,7 +151,7 @@ jobs:
|
||||
- name: Publish
|
||||
run: |
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||
npm publish
|
||||
npm publish --access public
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
2
.github/workflows/publish-wasm-web.yml
vendored
2
.github/workflows/publish-wasm-web.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
||||
- name: Publish
|
||||
run: |
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||
(cd wasm/pkg && npm publish)
|
||||
(cd wasm/pkg && npm publish --access public)
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
2
.github/workflows/publish-wasm.yml
vendored
2
.github/workflows/publish-wasm.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
- name: Publish
|
||||
run: |
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||
(cd wasm/pkg && npm publish)
|
||||
(cd wasm/pkg && npm publish --access public)
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user