Skip to content

Fix compilation issue by updating package management to pnpm #95

Fix compilation issue by updating package management to pnpm

Fix compilation issue by updating package management to pnpm #95

Workflow file for this run

name: CI
on:
push:
branches: [ main, add-indeed-integration ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r backend/requirements.txt
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'pnpm'
- name: Install pnpm
run: npm install -g pnpm
- name: Install frontend dependencies
run: |
cd frontend
pnpm install
- name: Run frontend tests
run: |
cd frontend
pnpm test
- name: Run backend tests
run: |
cd backend
pytest -v