Skip to content

fix(deps): update dependency react-router-dom to v6.28.1 #2063

fix(deps): update dependency react-router-dom to v6.28.1

fix(deps): update dependency react-router-dom to v6.28.1 #2063

Workflow file for this run

name: Tests
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
test-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
frontend:
- 'frontend/**'
- '.github/workflows/*'
- name: Use Node.js 18.x
uses: actions/setup-node@v3
if: steps.filter.outputs.frontend == 'true'
with:
node-version: 18.x
- name: Install dependencies
if: steps.filter.outputs.frontend == 'true'
run: yarn install --frozen-lockfile
working-directory: ./frontend
- name: Build frontend
if: steps.filter.outputs.frontend == 'true'
run: yarn build
working-directory: ./frontend
- name: Run tests
if: steps.filter.outputs.frontend == 'true'
run: yarn test --coverage --watchAll=false
working-directory: ./frontend
- name: Upload coverage to Codecov
if: steps.filter.outputs.frontend == 'true'
uses: codecov/codecov-action@v3
with:
flags: frontend
fail_ci_if_error: true
directory: ./frontend