Skip to content

Commit

Permalink
run biome in github actions instead
Browse files Browse the repository at this point in the history
Signed-off-by: Vu Van Dung <[email protected]>
  • Loading branch information
joulev committed Mar 7, 2024
1 parent acf7845 commit 292415f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/biome-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Biome check
on: [push, pull_request]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: biomejs/setup-biome@v2
with:
version: latest
- run: biome ci .
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"check": "biome check .",
"build": "pnpm check && pnpm download-fonts && pnpm download-theme && pnpm codegen && next build",
"build": "pnpm download-fonts && pnpm download-theme && pnpm codegen && next build",
"codegen": "graphql-codegen --config codegen.ts",
"db:push": "drizzle-kit push:pg",
"deploy-worker": "wrangler deploy misc/multi-tenancy-worker.ts --name multi-tenant-on-website --compatibility-date 2023-12-05",
Expand Down

0 comments on commit 292415f

Please sign in to comment.