Skip to content

chore(deps-dev): bump tailwind-merge from 2.6.0 to 3.6.0 in /quantara/frontend #90

chore(deps-dev): bump tailwind-merge from 2.6.0 to 3.6.0 in /quantara/frontend

chore(deps-dev): bump tailwind-merge from 2.6.0 to 3.6.0 in /quantara/frontend #90

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@v6
- 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@v4
with:
name: frontend-bundle-size-report
path: quantara/frontend/bundle-size-report.json