mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
feat:#22 added frontend build
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user