test-lint

This commit is contained in:
Untone 2024-02-05 19:11:22 +03:00
parent da9b700e20
commit bb3f78d5cd
2 changed files with 3 additions and 6 deletions

View File

@ -12,8 +12,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Install Biome - name: Check types
run: npm install --global --save-exact @biomejs/biome run: npm run typecheck
- name: Lint with Biome - name: Lint with Biome
run: npx biome ci . run: npx biome ci .
@ -21,9 +21,6 @@ jobs:
- name: Lint styles - name: Lint styles
run: npm run lint:styles run: npm run lint:styles
- name: Check types
run: npm run typecheck
- name: Test production build - name: Test production build
run: npm run build run: npm run build

View File

@ -1,5 +1,5 @@
{ {
"*.{js,ts,cjs,mjs,d.mts,jsx,tsx,json,jsonc,scss,css}": [ "*.{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"
] ]
} }