File tree Expand file tree Collapse file tree 3 files changed +53
-1
lines changed Expand file tree Collapse file tree 3 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 1
- name : Release
1
+ name : Release Patch
2
2
3
3
on :
4
4
- workflow_dispatch
Original file line number Diff line number Diff line change
1
+ name : Release Major
2
+
3
+ on :
4
+ - workflow_dispatch
5
+
6
+ jobs :
7
+ test :
8
+ runs-on : ubuntu-latest
9
+
10
+ strategy :
11
+ matrix :
12
+ node_version : [16]
13
+
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - name : Setup
17
+ uses : ./.github/actions/setup
18
+ with :
19
+ node_version : ${{ matrix.node_version }}
20
+
21
+ - name : Test
22
+ uses : ./.github/actions/test
23
+ with :
24
+ codecov_token : ${{ secrets.CODECOV_TOKEN }}
25
+
26
+ release :
27
+ runs-on : ubuntu-latest
28
+
29
+ if : github.ref == 'refs/heads/main'
30
+
31
+ needs : [test]
32
+
33
+ steps :
34
+ - uses : actions/checkout@v3
35
+ - name : Setup
36
+ uses : ./.github/actions/setup
37
+
38
+ - name : Release
39
+ uses : ./.github/actions/release
40
+ with :
41
+ github_token : ${{ secrets.GITHUB_TOKEN }}
42
+ npm_token : ${{ secrets.NPM_TOKEN }}
43
+ release_target : version-publish-major
Original file line number Diff line number Diff line change 90
90
"postTargets" : [" qwik-nx:publish" , " qwik-nx:push-to-github" ]
91
91
}
92
92
},
93
+ "version-publish-major" : {
94
+ "executor" : " @jscutlery/semver:version" ,
95
+ "options" : {
96
+ "noVerify" : true ,
97
+ "push" : true ,
98
+ "releaseAs" : " major" ,
99
+ "postTargets" : [" qwik-nx:publish" , " qwik-nx:push-to-github" ]
100
+ }
101
+ },
93
102
"publish" : {
94
103
"executor" : " ngx-deploy-npm:deploy" ,
95
104
"options" : {
You can’t perform that action at this time.
0 commit comments