File tree 1 file changed +17
-8
lines changed
1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,19 @@ name: exist-db CI
8
8
on : [push]
9
9
10
10
jobs :
11
+ commitlint :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - uses : actions/setup-node@v4
16
+ with :
17
+ node-version : ' 22'
18
+ - run : npm install
19
+ # Run the commitlint action, considering its own dependencies and yours as well 🚀
20
+ # `github.workspace` is the path to your repository.
21
+ - uses : wagoid/commitlint-github-action@v6
22
+ env :
23
+ NODE_PATH : ${{ github.workspace }}/node_modules
11
24
build :
12
25
runs-on : ubuntu-latest
13
26
strategy :
@@ -73,20 +86,16 @@ jobs:
73
86
do sleep 2s; \
74
87
done
75
88
76
- # Test
89
+ # Test
77
90
- name : Run smoke test
78
91
run : bats --tap tests/bats/*.bats
79
-
80
- # TODO: add further tests
81
-
82
- # Lint commit messages
83
- - name : lint commit message
84
- uses : wagoid/commitlint-github-action@v6
85
92
86
93
release :
87
94
name : Release
88
95
runs-on : ubuntu-latest
89
- needs : build
96
+ needs :
97
+ - commitlint
98
+ - build
90
99
if : github.ref == 'refs/heads/master'
91
100
steps :
92
101
- name : Checkout
You can’t perform that action at this time.
0 commit comments