From 59dd10a4c060a2f51dbe6777de60c7766d66fc89 Mon Sep 17 00:00:00 2001 From: Julien Catania Date: Fri, 1 Dec 2023 13:52:31 +0100 Subject: [PATCH] adding 2 new jobs build+Liv --- .github/workflows/ci.yml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f34fad3..6dc5b95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,11 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" - build: + + verif: # The type of runner that the job will run on runs-on: ubuntu-latest + name: Vérifications # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -27,12 +28,10 @@ jobs: uses: actions/checkout@v4 with: show-progress: false - - name: Configure Node uses: actions/setup-node@v4 with: node-version: 20 - # Runs a single command using the runners shell - name: Install dependencies run: npm ci @@ -40,7 +39,6 @@ jobs: run: npm run test:coverage - name: Run lint run: npm run lint - - name: Publish TU Report uses: dorny/test-reporter@v1 if: success() || failure() @@ -48,3 +46,25 @@ jobs: name: JEST Tests # Name of the check run which will be created path: reports/jest-junit.xml # Path to test results (inside artifact .zip) reporter: jest-junit # Format of test results + + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + name: Construction + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + show-progress: false + + livraison: + # The type of runner that the job will run on + runs-on: ubuntu-latest + name: Livraison + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + show-progress: false