File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,14 @@ jobs:
2121 - name : Install Dependencies
2222 run : npm install
2323
24- - name : Build
25- run : npm run build
26-
27- - name : Create Release Pull Request
24+ - name : Create Release Pull Request or publish to npm
2825 id : changesets
2926 uses : changesets/action@v1
3027 with :
31- # This expects you to have a script called release which does a build for your packages and calls changeset publish
28+ version : npm run version
3229 publish : npm run publish
30+ commit : " [ci] release"
31+ title : " [ci] release"
3332 env :
3433 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3534 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 44 "build" : " npm run build --workspaces --if-present" ,
55 "test" : " npm run test --workspaces --if-present" ,
66 "publish" : " npm run build && changeset publish" ,
7- "make:toc" : " markdown-toc -i README.md"
7+ "make:toc" : " markdown-toc -i README.md" ,
8+ "format:code" : " prettier -w ." ,
9+ "version" : " changeset version && npm install && npm run format:code"
810 },
911 "workspaces" : [
1012 " packages/core" ,
You can’t perform that action at this time.
0 commit comments