Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

[CHORE] Use biome ci and setup-biome in frontend lint workflow (#1830)

Jaseem Jasa16980522625
diff --git a/.github/workflows/ci-frontend-lint.yaml b/.github/workflows/ci-frontend-lint.yaml
index c3260dfef..11495ded2 100644
--- a/.github/workflows/ci-frontend-lint.yaml
+++ b/.github/workflows/ci-frontend-lint.yaml
@@ -13,7 +13,7 @@ on:
- "frontend/**"
jobs:
- biome-check:
+ biome-ci:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
@@ -21,21 +21,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- - name: Setup Bun
- uses: oven-sh/setup-bun@v2
+ - name: Setup Biome
+ uses: biomejs/setup-biome@v2
with:
- bun-version: "1.3.8"
+ version: "2.3.13"
- - name: Install dependencies
- working-directory: frontend
- run: bun install --frozen-lockfile
-
- - name: Run Biome check
+ - name: Run Biome CI
id: biome
working-directory: frontend
continue-on-error: true
run: |
- bun x @biomejs/biome check src/ --reporter=github 2>&1 | tee biome-output.txt
+ biome ci src/ 2>&1 | tee biome-output.txt
echo "exit_code=${PIPESTATUS[0]}" >> $GITHUB_OUTPUT
- name: Generate lint report
@@ -67,9 +63,7 @@ jobs:
- name: Output lint report to job summary
if: always() && hashFiles('frontend/biome-report.md') != ''
- shell: bash
- run: |
- cat frontend/biome-report.md >> $GITHUB_STEP_SUMMARY
+ run: cat frontend/biome-report.md >> $GITHUB_STEP_SUMMARY
- name: Fail if Biome found issues
if: steps.biome.outputs.exit_code != '0'