Files
conference-room-booking-system/.github/workflows/nox-ci.yml
2025-10-09 09:58:47 -04:00

38 lines
925 B
YAML

name: Nox CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
nox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libpq-dev
- name: Install pipx
run: python -m pip install --user pipx && python -m pipx ensurepath
- name: Install Nox
run: pipx install nox
- name: Install Poetry
run: pipx install poetry
- name: Install Yarn
run: npm install -g yarn
- name: Install nox-poetry
run: pipx install nox-poetry
- name: Run Nox (all checks)
run: nox