From fc95c7c0f0df6f8db3a69a928ae3952a9edfde8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Wed, 13 Sep 2023 20:45:03 +0200 Subject: [PATCH] CI/CD => Add a pipeline for make a test build --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9365970 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +variables: + GIT_SUBMODULE_STRATEGY: recursive + GIT_SUBMODULE_FORCE_HTTPS: "true" + SECURE_FILES_DOWNLOAD_PATH: './' + +stages: + - test + +build:test: + image: node:latest + stage: test + tags: + - build + script: + - cd ExpressAPI + - npm install + - npm run build \ No newline at end of file -- GitLab