Skip to content

Force root Vercel project to skip builds #17

Force root Vercel project to skip builds

Force root Vercel project to skip builds #17

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
python-quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install -e core -e planners -e worldmodels -e agents -e server
- name: Ruff
run: |
python -m ruff check .
python -m ruff format --check .
- name: Pytest
run: python -m pytest
web-build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: web/package-lock.json
- name: Install web dependencies
run: npm ci
- name: Build Next.js app
env:
NEXT_PUBLIC_API_BASE: http://localhost:8000
run: npm run build