Skip to content

Commit

Permalink
ci: set up proper release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Sep 16, 2021
1 parent 53e55a3 commit d8a64bc
Show file tree
Hide file tree
Showing 3 changed files with 3,429 additions and 3,611 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: changesets/action@master
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm release
publish: sed -i -e "s/'packages/'dist/" pnpm-workspace.yaml && pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"format:write": "pnpm format -- --write",
"test:int": "nx run-many --target=e2e --all",
"postinstall": "husky install",
"release": "nx affected --target=publish",
"release": "changeset publish",
"nx": "nx",
"deploy": "nx deploy docs"
},
Expand Down
Loading

0 comments on commit d8a64bc

Please sign in to comment.