Skip to content

Commit e2ed21f

Browse files
committed
ci: Check redocly lints before building documentation
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
1 parent b1b28e2 commit e2ed21f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ build:openapi:
141141
needs: []
142142
image: node:24-alpine
143143
script:
144-
- npx -y @redocly/cli build-docs doc/openapi/openapi.yaml --output openapi.html
144+
- npx -y @redocly/cli lint --config doc/redocly.yaml doc/openapi/openapi.yaml
145+
- npx -y @redocly/cli build-docs --config doc/redocly.yaml doc/openapi/openapi.yaml --output openapi.html
145146
artifacts:
146147
paths:
147148
- openapi.html

0 commit comments

Comments
 (0)