Skip to content

Bump react and @types/react in /frontend #50

Bump react and @types/react in /frontend

Bump react and @types/react in /frontend #50

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Restore backend
run: dotnet restore backend/StudyPulse.sln
- name: Build backend
run: dotnet build backend/StudyPulse.sln -c Release --no-restore
- name: Test backend (unit)
run: dotnet test backend/tests/StudyPulse.Application.Tests/StudyPulse.Application.Tests.csproj -c Release --no-build
- name: Test backend (integration)
run: dotnet test backend/tests/StudyPulse.IntegrationTests/StudyPulse.IntegrationTests.csproj -c Release --no-build
- name: Install frontend deps
run: npm ci
working-directory: frontend
- name: Test frontend
run: npm test -- --run
working-directory: frontend
- name: Build frontend
run: npm run build
working-directory: frontend