Unverified Commit 0b1dd21a authored by ThatOneCalculator's avatar ThatOneCalculator
Browse files

feat: 👷 seperate lint jobs for fe & be

parent 9d3652db
......@@ -5,7 +5,7 @@ on:
pull_request:
jobs:
build:
name: 'Format Backend' # Format & Lint
name: 'Format Backend'
env:
PUBLIC_API_BASE_URL: ''
runs-on: ubuntu-latest
......@@ -23,8 +23,5 @@ jobs:
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
......@@ -5,7 +5,7 @@ on:
pull_request:
jobs:
build:
name: 'Format & Build Frontend' # Format, Lint, & Build
name: 'Format & Build Frontend'
env:
PUBLIC_API_BASE_URL: ''
runs-on: ubuntu-latest
......@@ -16,8 +16,6 @@ jobs:
- run: bun --version
- name: Install frontend dependencies
run: bun install --frozen-lockfile
# - run: bun run lint
# - run: bun run lint:types
- name: Format frontend
run: bun run format
- name: Build frontend
......
name: Python CI
on:
push:
branches: ['main']
pull_request:
jobs:
build:
name: 'Lint Backend'
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 pylint
- name: Lint backend
run: bun run lint:backend
name: Bun CI
on:
push:
branches: ['main']
pull_request:
jobs:
build:
name: 'Lint Frontend'
env:
PUBLIC_API_BASE_URL: ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Bun
uses: oven-sh/setup-bun@v1
- run: bun --version
- name: Install frontend dependencies
run: bun install --frozen-lockfile
- run: bun run lint
- run: bun run lint:types
\ No newline at end of file
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