[TRA-15394] Correctif: les numéros d'identification du bsvhus ne devraient pas être obligatoire pour les vhus créés avant l'ajout de la règle #11513
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: Build & Test | |
on: pull_request | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- run: npm ci | |
- uses: nrwl/nx-set-shas@v3 | |
with: | |
main-branch-name: 'dev' | |
- run: git branch --track dev origin/dev | |
- run: npx nx format:check | |
- run: npx nx affected -t lint --parallel=3 | |
- run: npx nx affected -t test --parallel=3 | |
env: | |
EMAIL_BACKEND: "console" | |
SIB_BASE_URL: "http://mailservice" | |
MAIN_TEMPLATE_ID: "9" | |
SECURITY_CODE_RENEWAL_TEMPLATE_ID: "6" | |
FIRST_ONBOARDING_TEMPLATE_ID: "246" | |
PRODUCER_SECOND_ONBOARDING_TEMPLATE_ID: "248" | |
PROFESIONAL_SECOND_ONBOARDING_TEMPLATE_ID: "250" | |
VERIFIED_FOREIGN_TRANSPORTER_COMPANY_TEMPLATE_ID: "247" | |
DATABASE_URL: "postgresql://user:password@postgres:5432/db" | |
UI_HOST: "http://ui.td.local" | |
API_HOST: "http://api.td.local" | |
TD_COMPANY_ELASTICSEARCH_INDEX: "stocketablissement-production" | |
TD_COMPANY_ELASTICSEARCH_URL: ${{ secrets.TD_COMPANY_ELASTICSEARCH_URL }} | |
TD_COMPANY_ELASTICSEARCH_CACERT: ${{ secrets.TD_COMPANY_ELASTICSEARCH_CACERT }} | |
OTEL_SDK_DISABLED: true | |
ELASTIC_SEARCH_URL: http://elasticsearch:9200 | |
- run: npx nx affected -t build --parallel=3 |