Skip to content

Commit 372d7b4

Browse files
committed
ci: add linter step
1 parent efd2902 commit 372d7b4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: Install dependencies
2727
run: npm ci
2828

29+
- name: Run linter
30+
run: npm run lint
31+
2932
- name: Run tests
3033
run: npm test
3134

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
}
4141
},
4242
"scripts": {
43+
"lint": "eslint --flag unstable_native_nodejs_ts_config",
44+
"lint:fix": "eslint --fix --flag unstable_native_nodejs_ts_config",
4345
"test": "vitest run --coverage",
4446
"test:watch": "vitest --coverage",
4547
"dev": "tsup --watch",

0 commit comments

Comments
 (0)