mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-23 05:30:41 +00:00
ci: replace deprecated group syntax
This commit is contained in:
parent
e7fabe6363
commit
fc1aa309d2
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user