Skip to content

Commit be54057

Browse files
committed
Update linting command
1 parent 9b19471 commit be54057

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: npm install
2727

2828
- name: Lint
29-
run: npx rome ci src
29+
run: npm run lint
3030

3131
- name: Build
3232
run: npm run build

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: npm install
2020

2121
- name: Lint
22-
run: npx rome ci src
22+
run: npm run lint
2323

2424
- name: Build
2525
run: npm run build

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc && vite build",
9-
"preview": "vite preview"
9+
"preview": "vite preview",
10+
"lint": "rome ci src"
1011
},
1112
"dependencies": {
1213
"react": "^18.2.0",

0 commit comments

Comments
 (0)