issue # gitlab ci test

This commit is contained in:
2025-11-14 07:43:42 +00:00
parent ed7a5870ca
commit f6cb2ee23f

View File

@@ -19,6 +19,13 @@
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
- build - build
cache:
key:
files:
- package-lock.json
paths:
- node_modules/
build: # This job runs in the build stage, which runs first. build: # This job runs in the build stage, which runs first.
stage: build stage: build
tags: tags:
@@ -28,4 +35,7 @@ build: # This job runs in the build stage, which runs first.
- echo "Compiling the code..." - echo "Compiling the code..."
- npm install - npm install
- npm run build - npm run build
- sudo cp -r $PWD/dist/. $DOCKER_VOLUME/scheduler/back/dist
- sudo cp $PWD/package.json $DOCKER_VOLUME/scheduler/back/dist
- docker compose up -d back
- echo "Compile complete." - echo "Compile complete."