From 1d3d606bd6db6c616c98cefd42fc6dde7036fb02 Mon Sep 17 00:00:00 2001 From: THOLOT DECHENE Matthieu Date: Fri, 21 Nov 2025 23:37:14 +0000 Subject: [PATCH] Actualiser .github/workflows/ci.yml --- .github/workflows/ci.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70a20d3..af70e86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,19 +7,28 @@ on: - develop - test-ci pull_request: + jobs: build: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Setup Node.js + 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 \ No newline at end of file + run: npm run test:e2e -- --runInBand