Bin
2025-12-17 dcf780a91c16b6be28635b6e2e0e702060ee19f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: "biome"
 
on:
  workflow_call:
    inputs:
      head_sha:
        required: true
        type: string
 
env:
  NODE: "22"
  FRONTEND_MONOREPO_DIR: "web"
 
jobs:
  main:
    name: "biomejs"
    runs-on: ubuntu-latest
    timeout-minutes: 20
    steps:
      - uses: hmarr/debug-action@v3.0.0
 
      - name: Checkout
        uses: actions/checkout@v6
        with:
          ref: ${{ inputs.head_sha }}
 
      - name: Setup frontend environment
        uses: ./.github/actions/setup-frontend-environment
        with:
          node-version: "${{ env.NODE }}"
          directory: "${{ env.FRONTEND_MONOREPO_DIR }}"
 
      - name: Run biome
        working-directory: ${{ env.FRONTEND_MONOREPO_DIR }}
        run: |
          yarn biome check . --diagnostic-level=error