Skip to content

Commit bb2aac2

Browse files
committed
ci: improve ci config
1 parent 84d76bb commit bb2aac2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
- name: Install dependencies
2020
run: npm ci
2121
- name: Run Lint
22-
run: npm run lint
22+
run: npm run lint:ci
2323
- name: Run Format Check
24-
run: npm run format:check
24+
run: npm run fmt:check

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
"tauri": "tauri",
1010
"preview": "vite preview",
1111
"lint": "find . -name \"*.ts\" -not -path \"*/node_modules/*\" | xargs oxlint --ignore-path .gitignore",
12+
"lint:ci": "find . -name \"*.ts\" -not -path \"*/node_modules/*\" | xargs oxlint --ignore-path .gitignore --format=github",
1213
"format": "oxfmt --write \"**/*.ts\"",
1314
"format:check": "oxfmt --check \"**/*.ts\"",
15+
"fmt:check": "npm run format:check",
1416
"postinstall": "husky install",
1517
"test": "vitest --silent"
1618
},

0 commit comments

Comments
 (0)