File tree 1 file changed +4
-7
lines changed 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ name: Release Version
2
2
3
3
on :
4
4
pull_request :
5
- types : [closed ]
5
+ types : [opened, synchronize ]
6
6
7
7
jobs :
8
- check-merge :
9
- if : github.event.pull_request.merged == true
8
+ request-version :
10
9
runs-on : ubuntu-latest
11
10
12
11
steps :
29
28
})
30
29
31
30
check-version :
32
- if : github.event.pull_request.merged == true
33
31
runs-on : ubuntu-latest
34
- needs : check-merge
32
+ needs : request-version
35
33
steps :
36
34
- name : Check version bump reaction
37
35
uses : actions/github-script@v6
56
54
core.setOutput('version_type', versionType);
57
55
58
56
release :
59
- if : github.event.pull_request.merged == true
60
57
runs-on : ubuntu-latest
61
58
needs : check-version
62
59
steps :
66
63
- name : Setup Node.js
67
64
uses : actions/setup-node@v3
68
65
with :
69
- node-version : ' 16 '
66
+ node-version : ' 18 '
70
67
registry-url : ' https://registry.npmjs.org/'
71
68
72
69
- name : Install dependencies
You can’t perform that action at this time.
0 commit comments