This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
fix(api): corrige le bug d'import dû à la librairie carbone #3750
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |