35 lines
744 B
YAML
35 lines
744 B
YAML
name: Code quality checks
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
quality:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Bun
|
|
run: |
|
|
curl -fsSL https://bun.sh/install | bash
|
|
export BUN_INSTALL="$HOME/.bun"
|
|
echo "$BUN_INSTALL/bin" >> $GITHUB_PATH
|
|
|
|
- name: Install Dependencies
|
|
run: bun install
|
|
|
|
- name: Show Biome config and project files
|
|
run: |
|
|
pwd
|
|
ls -la
|
|
cat biome.json || echo "biome.json not found"
|
|
|
|
- name: Debug Biome setup
|
|
run: |
|
|
which bunx
|
|
bunx biome --version
|
|
|
|
- name: Run Biome with verbose output
|
|
run: bunx biome ci . --verbose
|