Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e9ba3ea

Browse files
committedAug 22, 2024··
fix: release script
1 parent 8a569ca commit e9ba3ea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
1818
with:
1919
fetch-depth: 0
20+
- name: Install jq
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install jq
2024
- name: Install dependencies
2125
run: npm install
2226
- name: Build all packages
@@ -29,10 +33,10 @@ jobs:
2933
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
3034
- name: Version
3135
run: |
32-
npx lerna version minor --force-publish --no-changelog --no-commit-hooks --yes
36+
npx lerna version minor --no-changelog --no-commit-hooks --no-private --yes
3337
- name: Release packages
3438
run: |
35-
npx lerna publish from-git --no-private --no-changelog --yes
39+
npx lerna publish from-git --no-private --no-changelog --yes --throttle --throttle-size 1 --throttle-delay 2
3640
env:
3741
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3842
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.