Skip to content

Commit 04ff4f6

Browse files
committed
chore: Run linting and formatting in CI
1 parent c6cbb76 commit 04ff4f6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
with:
1818
node-version: ${{ matrix.node-version }}
1919
- run: npm ci
20-
- run: npx prettier --check .
20+
- run: npm run format:check
21+
- run: npm run lint
2122
- run: npm test
2223
- run: npm run ts

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"build": "tsc --project tsconfig.build.json",
1818
"lint": "eslint .",
1919
"format": "prettier --write .",
20+
"format:check": "prettier --check .",
2021
"test": "jest",
2122
"ts": "tsc"
2223
},

0 commit comments

Comments
 (0)