diff --git a/.github/workflows/bun.yaml b/.github/workflows/bun.yaml index 5d1a20ba1..7a136b4c6 100644 --- a/.github/workflows/bun.yaml +++ b/.github/workflows/bun.yaml @@ -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 diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml new file mode 100644 index 000000000..5666e4ae2 --- /dev/null +++ b/.github/workflows/python.yaml @@ -0,0 +1,30 @@ +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