Skip to content

Commit 0c523f5

Browse files
authored
chore: update release pipeline (#3355)
* chore: update release pipeline * refactor: update publish script
1 parent 0c42aba commit 0c523f5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,18 @@ jobs:
196196
uses: changesets/action@v1
197197
with:
198198
version: pnpm run version # Rebuild packages to ensure any uncommitted pre-build artifacts
199-
publish: pnpm publish -r --no-git-checks # Use `pnpm publish` directly to resolve `workspace` dependencies
199+
publish: pnpm run publish
200200
createGithubReleases: true
201201
env:
202202
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
203203
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
204204

205+
- name: Debug changesets output
206+
run: |
207+
echo "Changesets output: ${{ steps.changesets.outputs }}"
208+
echo "Changesets output type: ${{ toJSON(steps.changesets.outputs) }}"
209+
echo "--------------------------------"
210+
205211
release-aws:
206212
name: Publish to AWS CodeArtifact
207213
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"link": "lg link",
3333
"lint": "lg lint",
3434
"prepublishOnly": "pnpm run build && pnpm build:ts-downlevel && pnpm build:docs",
35-
"publish": "pnpm changeset publish --public",
35+
"publish": "pnpm publish --recursive",
3636
"reset:react17": "npx node ./scripts/react17/reset.mjs; pnpm run init",
3737
"slackbot": "lg slackbot",
3838
"start": "npx storybook dev -p 9001 --no-version-updates --no-open",

0 commit comments

Comments
 (0)