File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
- name : Build, Lint, and Test
1
+ name : Build, Lint, Test
2
2
3
3
on :
4
4
push :
@@ -21,11 +21,29 @@ jobs:
21
21
- run : yarn --frozen-lockfile
22
22
- run : yarn build
23
23
- run : yarn lint
24
- - run : yarn test
24
+ - run : yarn
25
+ validate-changelog :
26
+ name : Validate changelog
27
+ runs-on : ubuntu-20.04
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+ - name : Use Node.js v12
31
+ uses : actions/setup-node@v1
32
+ with :
33
+ node-version : 12
34
+ - run : yarn --frozen-lockfile
35
+ - run : yarn build
36
+ - name : Validate RC changelog
37
+ if : ${{ startsWith(github.ref, 'release-v') }}
38
+ run : yarn changelog validate --rc
39
+ - name : Validate changelog
40
+ if : ${{ !startsWith(github.ref, 'release-v') }}
41
+ run : yarn changelog validate
25
42
all-jobs-pass :
26
43
name : All jobs pass
27
44
runs-on : ubuntu-20.04
28
45
needs :
29
46
- build-lint-test
47
+ - validate-changelog
30
48
steps :
31
49
- run : echo "Great success!"
You can’t perform that action at this time.
0 commit comments