mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +03:00
chore: Use yarn workspaces
This commit is contained in:
parent
ebb135b39e
commit
482fcf55c7
2
.github/workflows/publish-core.yml
vendored
2
.github/workflows/publish-core.yml
vendored
@ -482,7 +482,7 @@ jobs:
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
npm config set provenance true
|
||||
(cd packages/core && yarn npm publish --access public --tag $NPM_TAG)
|
||||
(cd packages/core && yarn workspaces foreach -Rt npm publish --tolerate-republish)
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
@ -4,6 +4,8 @@
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"./packages/*",
|
||||
"./packages/core/scripts/npm/*",
|
||||
"./packages/minifier/scripts/npm/*",
|
||||
"./bindings/*",
|
||||
"./bindings/binding_core_wasm/*"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user