This repository has been archived on 2026-04-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Inventory_backend/.github/workflows/ci.yml
THOLOT DECHENE Matthieu e977bd83bd
Some checks failed
CI / build (push) Has been cancelled
CI / build (pull_request) Has been cancelled
Actualiser .github/workflows/ci.yml
2025-11-21 22:10:19 +00:00

37 lines
726 B
YAML

name: CI
on:
push:
branches:
- main
- develop
- test-ci
pull_request:
jobs:
build:
runs-on: self-hosted # on utilise TON runner act_runner
steps:
- name: Checkout via SSH
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.RUNNER_SSH_KEY }} # la clé privée ici
persist-credentials: false
fetch-depth: 1
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm test -- --runInBand
- name: Run e2e tests
run: npm run test:e2e -- --runInBand