mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 17:48:51 +02:00
feat:#22 added frontend build
This commit is contained in:
@ -43,6 +43,20 @@ build-backend:
|
|||||||
- backend/go.sum
|
- backend/go.sum
|
||||||
- backend/go.mod
|
- 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:
|
test-backend:
|
||||||
image: golang:1.21-alpine
|
image: golang:1.21-alpine
|
||||||
stage: test
|
stage: test
|
||||||
|
Reference in New Issue
Block a user