Skip to content

Commit 8e9e0bc

Browse files
committed
ci: replace deprecated group syntax
1 parent 9d7eb58 commit 8e9e0bc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.woodpecker/test.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ steps:
1616

1717
- name: assets
1818
image: docker.io/library/node:lts
19+
depends_on: [eslint]
1920
commands:
2021
- npm install --quiet --no-progress
2122
- npm run build
@@ -24,13 +25,14 @@ steps:
2425

2526
- name: testbuild
2627
image: quay.io/thegeeklab/hugo:0.136.5
28+
depends_on: [assets]
2729
commands:
2830
- mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/${CI_REPO_NAME}
2931
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/
3032

3133
- name: html-validation
3234
image: docker.io/library/node:lts
33-
group: test
35+
depends_on: [testbuild]
3436
commands:
3537
- npm install --quiet --no-progress
3638
- npm run lint:html
@@ -39,13 +41,13 @@ steps:
3941

4042
- name: link-validation
4143
image: docker.io/lycheeverse/lychee
42-
group: test
44+
depends_on: [testbuild]
4345
commands:
4446
- lychee --no-progress --format detailed exampleSite/content/ README.md
4547

4648
- name: page-validation
4749
image: quay.io/thegeeklab/lhci:0.14
48-
group: test
50+
depends_on: [testbuild]
4951
commands:
5052
- lhci autorun
5153
environment:

0 commit comments

Comments
 (0)