Commit e00b7e6 1 parent 7a0aa14 commit e00b7e6 Copy full SHA for e00b7e6
File tree 3 files changed +32
-4
lines changed
3 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,13 @@ jobs:
21
21
22
22
- name : Install dependencies
23
23
run : npm ci
24
- env :
25
- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
24
27
25
- name : Run build
28
26
run : npm run build
29
27
30
28
- name : Check format
31
29
if : always()
32
- run : npm run formatcheck
30
+ run : npm run format:check
33
31
34
32
- name : Check lint
35
33
if : always()
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ workflow_dispatch :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ release :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Set up Node.js
16
+ uses : actions/setup-node@v4
17
+ with :
18
+ # use file .node-version to determine node version
19
+ node-version-file : .node-version
20
+
21
+ - name : Install dependencies
22
+ run : npm ci
23
+
24
+ - name : Release
25
+ run : npm run ci:release
26
+ env :
27
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 10
10
"start" : " echo 'use \" npm run build\" from main directory and then \" npm start\" in the playground package'" ,
11
11
"format" : " prettier --write ." ,
12
12
"format:check" : " prettier --check ." ,
13
- "typecheck" : " lerna run typecheck"
13
+ "typecheck" : " lerna run typecheck" ,
14
+ "increase-version" : " lerna version" ,
15
+ "release" : " lerna publish from-package" ,
16
+ "ci:release" : " npm run build && lerna publish from-package --yes"
14
17
},
15
18
"keywords" : [],
16
19
"author" : " " ,
You can’t perform that action at this time.
0 commit comments