replace usage of lerna with yarn workspaces foreach

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-09-04 14:01:47 +02:00
parent 610f49bd3d
commit 01206e334c
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
# not flagged as the latest release, which means that people will not get this
# version of the package unless requested explicitly
- name: publish nightly release
run: yarn changeset publish --tag nightly
run: yarn workspaces foreach -v --no-private npm publish --tag nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+2 -2
View File
@@ -163,9 +163,9 @@ jobs:
- name: publish
run: |
if [ -f ".changeset/pre.json" ]; then
yarn lerna publish from-package --yes --dist-tag next
yarn workspaces foreach -v --exclude=root --no-private npm publish --tag next
else
yarn lerna publish from-package --yes
yarn workspaces foreach -v --exclude=root --no-private npm publish
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}