Skip to content

Commit ed2f83a

Browse files
committed
feat(ci): Add new CI job for building & validating the OpenAPI spec
Signed-off-by: Steffen Vogel <[email protected]>
1 parent 42ca2c0 commit ed2f83a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.gitlab-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,16 @@ build:nix:
132132
--print-build-logs
133133
".#villas-node-${SYSTEM}"
134134

135+
build:openapi:
136+
stage: build
137+
needs: []
138+
image: node:24-alpine
139+
script:
140+
- npx -y @redocly/cli build-docs docs/openapi/openapi.yaml --output openapi.html
141+
artifacts:
142+
paths:
143+
- openapi.html
144+
135145
# Stage: test
136146

137147
test:pre-commit:

0 commit comments

Comments
 (0)