feat:#22 added frontend build

This commit is contained in:
Elmar Kresse
2024-02-04 19:43:14 +01:00
parent 6d950e1c8d
commit cde1c1c00d

View File

@ -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