gitlab-ci: further tests

This commit is contained in:
Jonas Heinrich 2020-10-13 11:36:41 +02:00
parent c2f05009e0
commit c66fc56a7b

View File

@ -11,6 +11,8 @@ image: ubuntu:20.04
Compile: Compile:
stage: compiling stage: compiling
script: script:
- apt update
- apt install npm
- npm install - npm install
- if [ "${CI_COMMIT_REF_NAME}" == "stable" ] ; then npm run build:prod ; fi - if [ "${CI_COMMIT_REF_NAME}" == "stable" ] ; then npm run build:prod ; fi
- if [ "${CI_COMMIT_REF_NAME}" != "stable" ] ; then npm run build:nightly ; fi - if [ "${CI_COMMIT_REF_NAME}" != "stable" ] ; then npm run build:nightly ; fi