Skip to content
Snippets Groups Projects
Verified Commit eb7358bf authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Add React building to CI

parent 0549c70e
No related branches found
No related tags found
1 merge request!16Resolve "In-browser key+cert converter"
Pipeline #7703 passed
stages:
- test
- jsbuild
- build
- deploy
......@@ -13,8 +14,23 @@ unittest:
- python manage.py migrate
- python manage.py test
build:
jsbuild:
stage: jsbuild
when: manual
image: node:12
allow_failure: false
script:
- cd js
- npm i
- npm run-script build
artifacts:
expire_in: 1 week
paths:
- app/keys_home/static/react/*
build:
stage: build
allow_failure: false
image:
......@@ -32,6 +48,9 @@ build:
# mode
- dind
dependencies:
- jsbuild
variables:
# Tell docker client where it can find the daemon
DOCKER_HOST: tcp://docker-in-docker:2375/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment