From bb3f78d5cd44c8882d83e73842d429357c3e0300 Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 5 Feb 2024 19:11:22 +0300 Subject: [PATCH] test-lint --- .github/workflows/node-ci.yml | 7 ++----- .lintstagedrc | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 1945f3be..2d2d4bc8 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -12,8 +12,8 @@ jobs: - name: Install dependencies run: npm ci - - name: Install Biome - run: npm install --global --save-exact @biomejs/biome + - name: Check types + run: npm run typecheck - name: Lint with Biome run: npx biome ci . @@ -21,9 +21,6 @@ jobs: - name: Lint styles run: npm run lint:styles - - name: Check types - run: npm run typecheck - - name: Test production build run: npm run build diff --git a/.lintstagedrc b/.lintstagedrc index 0641af7e..e293187e 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,5 +1,5 @@ { "*.{js,ts,cjs,mjs,d.mts,jsx,tsx,json,jsonc,scss,css}": [ - "npx @biomejs/biome check . --log-kind=compact --verbose --apply-unsafe" + "npm run check" ] }