Skip to content

Feature : Enregistrement manuel dans la modale avec choix d'une ville et non d'une région #2548

Feature : Enregistrement manuel dans la modale avec choix d'une ville et non d'une région

Feature : Enregistrement manuel dans la modale avec choix d'une ville et non d'une région #2548

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
pull_request:
permissions:
actions: read
contents: read
jobs:
validate-data:
name: Validation des données de dispositifs sur la base d'un JSON Schema
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '20.x' ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm clean-install --foreground-scripts
- run: npx nx run @tee/data:test
lint:
name: Run eslint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '20.x' ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm clean-install --foreground-scripts
- run: npx nx run @tee/data:generate-program
- run: npx nx run @tee/backend:spec-and-routes
- run: npm run lint
lint-css:
name: Run stylelint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '20.x' ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm clean-install --foreground-scripts
- run: npx nx run @tee/web:sass-lint -f github
type-check:
name: Run type-check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '20.x' ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm clean-install --foreground-scripts
- run: npm run type:check
unit-test:
name: Run unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm clean-install --foreground-scripts
- run: npx nx run @tee/backend-ddd:test