ci: replace deprecated group syntax

This commit is contained in:
Robert Kaussow 2024-10-30 21:33:29 +01:00
parent 9d7eb58e80
commit 8e9e0bc9fa
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -16,6 +16,7 @@ steps:
- name: assets - name: assets
image: docker.io/library/node:lts image: docker.io/library/node:lts
depends_on: [eslint]
commands: commands:
- npm install --quiet --no-progress - npm install --quiet --no-progress
- npm run build - npm run build
@ -24,13 +25,14 @@ steps:
- name: testbuild - name: testbuild
image: quay.io/thegeeklab/hugo:0.136.5 image: quay.io/thegeeklab/hugo:0.136.5
depends_on: [assets]
commands: commands:
- mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/${CI_REPO_NAME} - mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/${CI_REPO_NAME}
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ - hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/
- name: html-validation - name: html-validation
image: docker.io/library/node:lts image: docker.io/library/node:lts
group: test depends_on: [testbuild]
commands: commands:
- npm install --quiet --no-progress - npm install --quiet --no-progress
- npm run lint:html - npm run lint:html
@ -39,13 +41,13 @@ steps:
- name: link-validation - name: link-validation
image: docker.io/lycheeverse/lychee image: docker.io/lycheeverse/lychee
group: test depends_on: [testbuild]
commands: commands:
- lychee --no-progress --format detailed exampleSite/content/ README.md - lychee --no-progress --format detailed exampleSite/content/ README.md
- name: page-validation - name: page-validation
image: quay.io/thegeeklab/lhci:0.14 image: quay.io/thegeeklab/lhci:0.14
group: test depends_on: [testbuild]
commands: commands:
- lhci autorun - lhci autorun
environment: environment: