Skip to content

Commit 3e51c34

Browse files
committed
chore(release): always publish all pkgs on release
1 parent 03d973e commit 3e51c34

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/release-custom-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: yarn build
6161

6262
- name: publish to npm
63-
run: ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git
63+
run: ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git --force-publish
6464
env:
6565
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
6666
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.github/workflows/release-snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
--no-git-tag-version \
5050
--pre-dist-tag dev \
5151
--allow-branch ${current_branch}
52+
--force-publish
5253
5354
env:
5455
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
- uses: actions/checkout@v4
3636
with:
3737
fetch-depth: 0
38-
38+
3939
- name: Setup Node.js environment
4040
uses: actions/[email protected]
4141
with:
4242
node-version-file: '.nvmrc'
4343
cache: 'yarn'
44-
44+
4545
- name: Install
4646
run: |
4747
npm install -g npm
@@ -99,7 +99,7 @@ jobs:
9999
run: yarn build
100100

101101
- name: publish to npm
102-
run: ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git
102+
run: ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git --force-publish
103103
env:
104104
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
105105
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
@@ -116,4 +116,3 @@ jobs:
116116
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
117117
118118
await addIssueComments({ github, context })
119-

0 commit comments

Comments
 (0)