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