Skip to content

Commit

Permalink
バージョン更新時にformat
Browse files Browse the repository at this point in the history
  • Loading branch information
mkizka committed Jan 13, 2022
1 parent 4e1655b commit f970f4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
version: yarn version-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"build": "turbo run build",
"test": "turbo run test",
"dev": "turbo run dev",
"format": "prettier -w .",
"version-packages": "changeset version && yarn format",
"release": "yarn build && changeset publish"
},
"devDependencies": {
Expand Down

0 comments on commit f970f4d

Please sign in to comment.