Updated ci

This commit is contained in:
2022-10-13 20:55:08 +02:00
parent c10964fdc7
commit 31f8b11201
3 changed files with 41 additions and 61 deletions

16
frontend/.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,16 @@
test_and_build_frontend:
image: node:latest
stage: build
cache:
key: frontend
paths:
- frontend/.yarn
- frontend/node_modules
script:
- cd frontend
- yarn install --cache-folder .yarn --frozen-lockfile
- yarn lint
- yarn build
artifacts:
paths:
- frontend/dist/