:ci: Ajout du .gitlab-ci.yml

This commit is contained in:
Orionis committed 2026-10-28 21:57:33 +01:00
1 parent c76856d376
commit c6a3376317
1 file changed
+40
+40
View File
@@ -0,0 +1,40 @@
# CI/CD LogAiFront (React + Vite)
image: node:22
default:
tags:
- runner
stages:
- install
- check
cache:
key:
files:
- package-lock.json
paths:
- node_modules/
install:
stage: install
script:
- npm ci
lint:
stage: check
needs:
- install
script:
- npm run lint
build:
stage: check
needs:
- install
script:
- npm run build
artifacts:
paths:
- dist/
expire_in: 1 week