Skip to content
Snippets Groups Projects

Ajout d'une pipeline ci/cd

Merged MARTIN Pierre-Alexandre requested to merge ci-cd into main
1 file
+ 29
0
Compare changes
  • Side-by-side
  • Inline
.gitlab-ci.yml 0 → 100644
+ 29
0
image: node:22
stages:
- build
- test
cache:
paths:
- node_modules/
build:
stage: build
script:
- npm ci
- npm run build
linter:
stage: test
script:
- npm ci
- npm run lint
allow_failure: true
test:
stage: test
script:
- npm ci
- npm run test -- --passWithNoTests
allow_failure: true
Loading