Skip to content

Commit

Permalink
test: add format check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HerringtonDarkholme committed Feb 10, 2024
1 parent c4266bb commit 3908c24
Show file tree
Hide file tree
Showing 4 changed files with 3,073 additions and 1,027 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
jobs:
typecheck:
name: Type Check
name: Static Check
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -17,7 +17,9 @@ jobs:
version: 8
- name: Install deps
run: pnpm install
- name: Compile
- name: Style Check
run: pnpm run prettier:check
- name: Type Check
run: pnpm run typecheck
test:
name: VSCode Test
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"test": "node ./scripts/test/runTest.mjs",
"compile": "cross-env NODE_ENV=production tsup",
"typecheck": "tsc --noEmit",
"prettier:check": "prettier --check .",
"watch": "cross-env NODE_ENV=development tsup --watch",
"watch:webview": "cross-env NODE_ENV=development node ./scripts/dev/start.js",
"prepare": "husky install"
Expand Down
Loading

0 comments on commit 3908c24

Please sign in to comment.