test runner

This commit is contained in:
tuanvu
2026-02-16 16:06:49 +01:00
parent f0b852d5cd
commit 4485ce3f04

View File

@@ -16,6 +16,8 @@ variables:
check_app_update:
stage: check
image: debian:latest
tags:
- docker
before_script:
- apt-get update && apt-get install -y git ssh
- mkdir -p ~/.ssh
@@ -41,11 +43,12 @@ check_app_update:
# Build Frontend (Angular)
build_frontend:
stage: build
image: node:current-alpine3.23
tags:
- docker
dependencies:
- check_app_update
script:
- sudo apt-get update
- sudo apt-get install -y nodejs npm
- source variables.env || true
- if [ "$NEW_COMMIT" != "true" ]; then
echo "No new commit, skipping build";