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 7fe6d0db4b
Some checks failed
CI / build (pull_request) Has been cancelled
CI / build (push) Failing after 26s
Actualiser .github/workflows/ci.yml
2025-11-21 20:26:55 +00:00

26 lines
527 B
YAML

name: CI
on:
push:
branches:
- main
- develop
- test-ci
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
ssh-key: ${{ secrets.RUNNER_SSH_KEY }}
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