Add internal_frontend project
This commit is contained in:
30
internal_frontend/.gitlab-ci.yml
Normal file
30
internal_frontend/.gitlab-ci.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
cache:
|
||||
key: ${CI_COMMIT_REF_SLUG}
|
||||
paths:
|
||||
- node_modules/
|
||||
- .next/cache/
|
||||
|
||||
build_internal_frontend:
|
||||
stage: build
|
||||
image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95
|
||||
script:
|
||||
- |
|
||||
cd internal_frontend
|
||||
npm install
|
||||
npx next build
|
||||
artifacts:
|
||||
paths:
|
||||
- internal_frontend/.next
|
||||
- internal_frontend/public
|
||||
- internal_frontend/package.json
|
||||
- internal_frontend/package-lock.json
|
||||
expire_in: 1 hour
|
||||
|
||||
docker_internal_frontend:
|
||||
extends: .docker-build-template
|
||||
variables:
|
||||
IMAGE_NAME: internal_frontend
|
||||
WORKDIR_PATH: internal_frontend
|
||||
DOCKERFILE_PATH: Dockerfile
|
||||
needs:
|
||||
- build_internal_frontend
|
||||
Reference in New Issue
Block a user