Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

ajoute un test sur la mise en concurrence #3893

ajoute un test sur la mise en concurrence

ajoute un test sur la mise en concurrence #3893

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- preprod
- prod
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
deadcode:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.15.1'
cache: 'npm'
- name: Install
run: make install
- name: Detect dead code
run: make lint/detect-dead-code
ui:
uses: ./.github/workflows/ui.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
api:
uses: ./.github/workflows/api.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
common:
uses: ./.github/workflows/common.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
graphql:
uses: ./.github/workflows/graphql.yml
doc:
uses: ./.github/workflows/doc.yml
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
deploy:
needs: [ui, api, common, doc, graphql]
if: github.ref == 'refs/heads/master'
uses: ./.github/workflows/cd.yml
secrets:
CD_TOKEN_DEV: ${{ secrets.CD_TOKEN_DEV }}
CD_TOKEN_PREPROD: ${{ secrets.CD_TOKEN_PREPROD }}
CD_TOKEN_PROD: ${{ secrets.CD_TOKEN_PROD }}
with:
deploy_environment: dev
git_sha: ${{ github.sha }}