Skip to content

chore(deps): bump react-router-dom from 7.4.0 to 7.18.1 in /quantara/frontend #168

chore(deps): bump react-router-dom from 7.4.0 to 7.18.1 in /quantara/frontend

chore(deps): bump react-router-dom from 7.4.0 to 7.18.1 in /quantara/frontend #168

name: Run Frontend Tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
paths:
- 'quantara/frontend/**'
- 'devops/**'
pull_request:
branches:
- main
paths:
- 'quantara/frontend/**'
- 'devops/**'
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: ./quantara/frontend
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'yarn'
cache-dependency-path: quantara/frontend/yarn.lock
- name: Create .env file
run: cp .env.dev .env
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test:run
- name: Run lint
run: yarn lint
- name: Build frontend
run: yarn build
- name: Generate bundle size report
run: yarn bundle:size
- name: Upload bundle size report
uses: actions/upload-artifact@v7
with:
name: frontend-bundle-size-report
path: quantara/frontend/bundle-size-report.json