use biome giithub action
This commit is contained in:
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -31,14 +31,12 @@ jobs:
|
||||
image: oven/bun
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Biome
|
||||
run: bun install -g biome
|
||||
- name: Run Biome lint
|
||||
run: |
|
||||
echo "Running Biome lint..."
|
||||
bun install
|
||||
bunx biome lint --write
|
||||
bunx biome format --write
|
||||
- name: Setup Biome
|
||||
uses: biomejs/setup-biome@v2
|
||||
with:
|
||||
version: latest
|
||||
- name: Run Biome
|
||||
run: biome ci .
|
||||
|
||||
build-and-push-docker:
|
||||
needs: [build]
|
||||
|
||||
Reference in New Issue
Block a user