From 2a9d3ac3616441140eeb4d4bef5588a8d716e8bd Mon Sep 17 00:00:00 2001 From: Gary Murphy Date: Mon, 1 May 2023 00:51:06 +0100 Subject: [PATCH] added frontend end build stage to ci pipeline --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c303457..8c2c4a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,13 +12,20 @@ variables: POSTGRES_HOST_AUTH_METHOD: trust # Define the job for building the Go backend application -build: +backend: stage: build image: golang:1.17.4-alpine3.14 script: - cd src/backend/cmd - go mod download - go build -o app + +frontend: + stage: build + image: mcr.microsoft.com/dotnet/sdk:6.0 + script: + - cd src/PanoptesFrontend + - dotnet build # Define the job for running the tests test: