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
|
image: oven/bun
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Biome
|
- name: Setup Biome
|
||||||
run: bun install -g biome
|
uses: biomejs/setup-biome@v2
|
||||||
- name: Run Biome lint
|
with:
|
||||||
run: |
|
version: latest
|
||||||
echo "Running Biome lint..."
|
- name: Run Biome
|
||||||
bun install
|
run: biome ci .
|
||||||
bunx biome lint --write
|
|
||||||
bunx biome format --write
|
|
||||||
|
|
||||||
build-and-push-docker:
|
build-and-push-docker:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
|
|||||||
Reference in New Issue
Block a user