From 8eb598d4ffe7f41a2c3952e48d8e35af4ace6fe0 Mon Sep 17 00:00:00 2001 From: Sylux Date: Wed, 8 May 2024 18:11:30 +0200 Subject: [PATCH] ci(biome): add code check step with biome --- .github/workflows/deploy.yml | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 07aed42a5a7..f7357776317 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,6 +14,8 @@ jobs: node-version: "20" - name: Install dependencies run: npm ci + - name: Check malformed code + run: npm run check - name: Build run: npm run build env: diff --git a/package.json b/package.json index 2b49a416f23..8eade5543c5 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "start": "vite", "start:dev": "vite --mode development", + "check": "biome check .", "build": "vite build", "preview": "vite preview", "test": "vitest run",