Skip to content

Commit 6e1b8dd

Browse files
committed
fix: enable GitHub Pages in deploy workflow and add typecheck to pre-commit
- Add enablement: true to configure-pages action so it auto-enables Pages - Add tsc -b to pre-commit hook to catch type errors before push
1 parent 8811d10 commit 6e1b8dd

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
run: npm run build
3434

3535
- uses: actions/configure-pages@v5
36+
with:
37+
enablement: true
3638

3739
- uses: actions/upload-pages-artifact@v3
3840
with:

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
npx lint-staged
2+
npx tsc -b

0 commit comments

Comments
 (0)