File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change 21
21
run : npm ci
22
22
- name : Run lint command
23
23
run : npm run lint
24
- build :
25
- name : Build
24
+ release :
25
+ needs : [lint]
26
+ name : Build and release
26
27
runs-on : ubuntu-latest
27
28
if : " !contains(github.event.head_commit.message, '[skip ci]')"
28
29
steps :
38
39
run : npm ci
39
40
- name : Run build command
40
41
run : npm run build
41
- release :
42
- needs : [lint, build]
43
- name : Release
44
- runs-on : ubuntu-latest
45
- if : " !contains(github.event.head_commit.message, '[skip ci]')"
46
- steps :
47
- - name : Checkout
48
- uses : actions/checkout@v2
49
- - name : Setup Node.js
50
- uses : actions/setup-node@v2
51
- with :
52
- node-version : 14
53
- - name : Cache node modules
54
- uses : c-hive/gha-npm-cache@v1
55
- - name : Install dependencies
56
- run : npm ci
57
42
- name : Run Semantic Release
58
43
run : npx semantic-release
59
44
env :
You can’t perform that action at this time.
0 commit comments