Skip to content

Commit

Permalink
ci: fix changesets publish command (#10)
Browse files Browse the repository at this point in the history
Using "&&" in changesets action publish command will pass
the subsequent command as additional flags to NX for some reason.
  • Loading branch information
tien authored Jul 17, 2024
1 parent 73459b2 commit 62f26d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: changesets/action@v1
with:
publish: yarn build:packages && scripts/publish.sh
publish: yarn publish:packages
commit: "chore: version packages"
title: "chore: version packages"
env:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"dev": "nx run-many -t dev",
"build": "nx run-many -t build",
"build:packages": "nx run-many -t build --projects='packages/*'",
"publish:packages": "yarn build:packages && scripts/publish.sh",
"lint": "nx run-many -t lint -- --max-warnings=0",
"test": "nx run-many -t test",
"postinstall": "husky"
Expand Down

0 comments on commit 62f26d9

Please sign in to comment.