File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,14 @@ jobs:
21
21
- name : Install Dependencies
22
22
run : npm install
23
23
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
28
25
id : changesets
29
26
uses : changesets/action@v1
30
27
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
32
29
publish : npm run publish
30
+ commit : " [ci] release"
31
+ title : " [ci] release"
33
32
env :
34
33
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
34
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 4
4
"build" : " npm run build --workspaces --if-present" ,
5
5
"test" : " npm run test --workspaces --if-present" ,
6
6
"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"
8
10
},
9
11
"workspaces" : [
10
12
" packages/core" ,
You can’t perform that action at this time.
0 commit comments