Skip to content

Commit 6f4cb83

Browse files
committed
fix: slack broadcasting - canary
1 parent 2c46763 commit 6f4cb83

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/dev.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,12 @@ jobs:
122122
run: |
123123
pnpm exec lerna version ${{ steps.determine-publish-type.outputs.version_args }}
124124
125+
# We use `pnpm publish` instead of `lerna publish` because lerna doesn't
126+
# resolve pnpm's `catalog:` protocol in package.json dependencies.
127+
# Only pnpm itself properly resolves catalog references during publish.
125128
- name: Publish to npm (OIDC)
126129
run: |
127-
pnpm exec lerna publish from-git --yes --dist-tag "${{ steps.determine-publish-type.outputs.dist_tag }}"
130+
pnpm publish -r --access public --tag "${{ steps.determine-publish-type.outputs.dist_tag }}" --no-git-checks --report-summary
128131
129132
- name: Push tags to git
130133
run: |

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"publish:olp-proto-ts": "./protoV2/olp/publish.sh",
2222
"generate:abacus-proto-ts": "./protoV2/abacus/gen.sh",
2323
"publish:abacus-proto-ts": "./protoV2/abacus/publish.sh",
24-
"release:patch": "pnpm build:fresh && lerna version patch --conventional-commits --force-git-tag --yes && lerna publish from-git --yes",
25-
"release:minor": "pnpm build:fresh && lerna version minor --conventional-commits --force-git-tag --yes && lerna publish from-git --yes",
24+
"release:patch": "pnpm build:fresh && lerna version patch --conventional-commits --force-git-tag --yes && pnpm publish -r --access public --tag latest --no-git-checks",
25+
"release:minor": "pnpm build:fresh && lerna version minor --conventional-commits --force-git-tag --yes && pnpm publish -r --access public --tag latest --no-git-checks",
2626
"build:watch": "node etc/bootstrapEnv && lerna run build:watch --parallel --stream",
2727
"build:fresh": "pnpm clean-up && pnpm build:check",
2828
"patch": "lerna version patch",

0 commit comments

Comments
 (0)