Skip to content

Commit

Permalink
Add type checking to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed May 17, 2024
1 parent f7a5d64 commit e5ea9b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
node-version: "20"
- name: Install dependencies
run: corepack enable && pnpm install
- name: Type Check
run: pnpm run typecheck
- name: Build project
run: pnpm run build
- name: Generate version
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"type": "module",
"scripts": {
"build": "tsup src/main.ts --format esm --sourcemap",
"dev": "tsup src/main.ts --format esm --sourcemap --watch"
"dev": "tsup src/main.ts --format esm --sourcemap --watch",
"typecheck": "tsc"
},
"packageManager": "[email protected]+sha256.9551e803dcb7a1839fdf5416153a844060c7bce013218ce823410532504ac10b",
"bin": "./dist/main.js",
Expand Down

0 comments on commit e5ea9b2

Please sign in to comment.