Unverified Commit 6ce41c71 authored by ThatOneCalculator's avatar ThatOneCalculator
Browse files

Seperate backend & frontend CI

parent 60b69072
......@@ -18,10 +18,11 @@ jobs:
- name: Use Bun
uses: oven-sh/setup-bun@v1
- run: bun --version
- run: bun install --frozen-lockfile
- name: Install frontend dependencies
run: bun install --frozen-lockfile
# - run: bun run lint
# - run: bun run lint:backend
# - run: bun run lint:types
- run: bun run format
- run: bun run format:backend
- run: bun run build
- name: Format frontend
run: bun run format
- name: Build frontend
run: bun run build
name: Python CI
on:
push:
branches: ['main']
pull_request:
jobs:
build:
name: 'Format & Build' # Format, Lint, & Build
env:
PUBLIC_API_BASE_URL: ''
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- latest
steps:
- uses: actions/checkout@v4
- name: Use Python
uses: actions/setup-python@v4
- name: Use Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install yapf
pip install pylint
- name: Lint backend
run: bun run lint:backend
- name: Format backend
run: bun run format:backend
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment