⬆️ Bump the npm group in /frontend with 9 updates #207
Workflow file for this run
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
name: Execute tests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
pre-commit: | |
name: Check repository with pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: ↩️ Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: 🏗️ Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: 🔍️ Execute pre-commit on all files | |
uses: pre-commit/[email protected] | |
test-backend: | |
name: Test Backend | |
runs-on: ubuntu-latest | |
steps: | |
- name: ↩️ Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: 🏗️ Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: temurin | |
- name: ✅ Test backend | |
run: ./gradlew --stacktrace check | |
test-frontend: | |
name: Test Frontend | |
runs-on: ubuntu-latest | |
steps: | |
- name: ↩️ Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: 🏗️ Install Node.js 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: npm | |
cache-dependency-path: frontend/package-lock.json | |
- name: 🏗️ Install packages | |
run: cd frontend && npm ci | |
- name: ✅ Test frontend | |
run: cd frontend && npm run type-check && npm run test:unit |