Actualiser .github/workflows/ci.yml

This commit is contained in:
2025-11-21 23:37:14 +00:00
parent baa855c7a1
commit 1d3d606bd6

View File

@@ -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
run: npm run test:e2e -- --runInBand