Skip to content

Commit

Permalink
Fix some releasing things
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Jul 13, 2020
1 parent 1be6a31 commit ca06e04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
with:
# this expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm run release
version: pnpm run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"postinstall": "preconstruct dev && manypkg check",
"build": "preconstruct build",
"release": "pnpm run build && changeset publish",
"test": "jest"
"test": "jest",
"version": "changeset version && pnpm i --frozen-lockfile=false"
},
"preconstruct": {
"packages": [
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca06e04

Please sign in to comment.