Skip to content

feat: add referents list download (ressources) [MODERATEUR] (#156) #93

feat: add referents list download (ressources) [MODERATEUR] (#156)

feat: add referents list download (ressources) [MODERATEUR] (#156) #93

Workflow file for this run

name: Frontend install, build, lint and tests
on:
push:
paths:
- 'front/**'
pull_request:
paths:
- 'front/**'
defaults:
run:
working-directory: ./front
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
cache-dependency-path: ./front/yarn.lock
node-version: 18
- name: Install packages
run: yarn --immutable
- name: Run the TS linter
run: yarn lint
- name: Run prettier
run: yarn format:check
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
cache-dependency-path: ./front/yarn.lock
node-version: 18
- name: Install packages
run: yarn --immutable
- name: Run tests
run: yarn test:coverage:ci
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
cache-dependency-path: ./front/yarn.lock
node-version: 18
- name: Install packages
run: yarn --immutable
- name: Run build
run: yarn build