Commit 8e9e0bc 1 parent 9d7eb58 commit 8e9e0bc Copy full SHA for 8e9e0bc
File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 16
16
17
17
- name : assets
18
18
image : docker.io/library/node:lts
19
+ depends_on : [eslint]
19
20
commands :
20
21
- npm install --quiet --no-progress
21
22
- npm run build
@@ -24,13 +25,14 @@ steps:
24
25
25
26
- name : testbuild
26
27
image : quay.io/thegeeklab/hugo:0.136.5
28
+ depends_on : [assets]
27
29
commands :
28
30
- mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/${CI_REPO_NAME}
29
31
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/
30
32
31
33
- name : html-validation
32
34
image : docker.io/library/node:lts
33
- group : test
35
+ depends_on : [testbuild]
34
36
commands :
35
37
- npm install --quiet --no-progress
36
38
- npm run lint:html
@@ -39,13 +41,13 @@ steps:
39
41
40
42
- name : link-validation
41
43
image : docker.io/lycheeverse/lychee
42
- group : test
44
+ depends_on : [testbuild]
43
45
commands :
44
46
- lychee --no-progress --format detailed exampleSite/content/ README.md
45
47
46
48
- name : page-validation
47
49
image : quay.io/thegeeklab/lhci:0.14
48
- group : test
50
+ depends_on : [testbuild]
49
51
commands :
50
52
- lhci autorun
51
53
environment :
You can’t perform that action at this time.
0 commit comments