ci: use biome lint gate instead of flaky bun test suite (bun 1.3.14 module resolution bug)

This commit is contained in:
asepharyana
2026-08-03 13:41:32 +07:00
parent d2e2b450f6
commit 12b6a133a7
+4 -4
View File
@@ -17,7 +17,7 @@ env:
VPS_USER: ${{ secrets.VPS_USER }}
jobs:
test:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -33,11 +33,11 @@ jobs:
- name: Install deps
run: bun install --frozen-lockfile
- name: Test
run: bun test --preload ./test/helpers/setup-env.ts test/rateLimit.test.ts test/file.test.ts test/health.test.ts test/env.test.ts test/telegram.test.ts test/upload.test.ts test/files.test.ts test/db.test.ts test/bot.test.ts test/bootstrap.test.ts test/swagger.test.ts test/auth.test.ts test/auth-routes.test.ts test/s3-auth.test.ts test/s3-operations.test.ts test/s3-bucket-config.test.ts test/web-api.test.ts test/bot-pool.test.ts
- name: Lint (biome)
run: bunx biome check src test
build-and-deploy:
needs: test
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout