feat: Implémentation d'un droit permettant de voir les filtres avancés #5980
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
# Worflow pour IC | |
name: Yarn CI UI | |
on: [push] | |
jobs: | |
# Single job | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'ui' | |
steps: | |
# Checks-out the repository | |
- uses: actions/[email protected] | |
- name: Enable corepack | |
run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
# setup .yarnrc.yml | |
- name: Create .yarnrc.yml | |
run: | | |
yarn set version 3.3.1 | |
yarn config set nodeLinker node-modules | |
yarn config set defaultSemverRangePrefix "" | |
# Install dependencies | |
- name: Run Yarn Install | |
run: | | |
yarn install --immutable | |
# Run tests | |
- name: Run Tests | |
run: | | |
yarn test:coverage | |
# codecov | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./coverage | |
name: codecov-ui | |
verbose: true |