From cde1c1c00d97ec76ddfe63ae2e67aab2a1d51984 Mon Sep 17 00:00:00 2001 From: Elmar Kresse Date: Sun, 4 Feb 2024 19:43:14 +0100 Subject: [PATCH] feat:#22 added frontend build --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b77a041..4a79c77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,6 +43,20 @@ build-backend: - backend/go.sum - backend/go.mod +build-frontend: + image: node:lts + stage: build + rules: + - changes: + - frontend/**/* + script: + - cd frontend + - npm i + - npm run build + artifacts: + paths: + - frontend/build + test-backend: image: golang:1.21-alpine stage: test