Skip to content

tsc

tsc #18

Workflow file for this run

name: Build and Lint
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install frontend dependencies
working-directory: frontend
run: npm install
- name: Lint frontend
working-directory: frontend
run: npm run lint || true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install backend dependencies
working-directory: backend
run: pip install -r requirements.txt || true
- name: Test backend
working-directory: backend
run: pytest || true