File tree Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 61
61
env :
62
62
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
63
63
64
+ - name : Get Version
65
+ env :
66
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
68
+ run : npm run version
69
+
70
+ - name : build
71
+ run : |
72
+ npm run build
73
+ env :
74
+ CI : false
75
+
64
76
- name : Release
65
77
env :
66
78
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"npmClient" : " yarn" ,
3
- "useWorkspaces " : true ,
3
+ "packages " : [ " packages/* " ] ,
4
4
"version" : " 5.7.0" ,
5
5
"command" : {
6
6
"bootstrap" : {
7
7
"ci" : false ,
8
- "npmClientArgs" : [
9
- " --no-package-lock"
10
- ]
8
+ "npmClientArgs" : [" --no-package-lock" ]
11
9
},
12
10
"publish" : {
13
11
"commitHooks" : false ,
14
12
"conventionalCommits" : true ,
15
- "createRelease" : " github" ,
16
13
"message" : " 🤖 publish" ,
17
14
"exact" : true
18
15
}
Original file line number Diff line number Diff line change 42
42
"prettier" : " prettier --write './packages/**/*.{ts,tsx}'" ,
43
43
"canary" : " npm run build && npm run test && lerna publish --canary --dist-tag next" ,
44
44
"release" : " lerna publish --yes --summary-file" ,
45
+ "version" : " lerna version --json" ,
45
46
"site:build" : " cd ./site && npm run site:build" ,
46
47
"site:clean" : " cd ./site && npm run site:clean" ,
47
48
"site:deploy" : " cd ./site && npm run site:deploy" ,
82
83
"jest" : " ^26.6.3" ,
83
84
"jest-electron" : " ^0.1.12" ,
84
85
"jest-image-snapshot" : " ^6.1.0" ,
85
- "lerna" : " ^6.6 .2" ,
86
+ "lerna" : " ^8.1 .2" ,
86
87
"limit-size" : " ^0.1.4" ,
87
88
"pre-commit" : " ^1.2.2" ,
88
89
"rollup-plugin-visualizer" : " ^5.6.0" ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default process.env.CI && process.env.CI === 'true'
35
35
{
36
36
"search" : "VERSION" ,
37
37
"searchTemplateStrings" : true ,
38
- "replace" : JSON . stringify ( require ( './package ' ) . version )
38
+ "replace" : require ( '../../lerna.json ' ) . version
39
39
}
40
40
]
41
41
}
You can’t perform that action at this time.
0 commit comments