Skip to content

Commit

Permalink
chore: add typecheck to precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Apr 2, 2024
1 parent 7b64cfb commit 1d10468
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org
- run: npm run typecheck
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash

bun run typecheck
bun run bump:version
git add package.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.19",
"version": "0.0.20",
"type": "module",
"scripts": {
"bump:version": "bunx changelogen --bump --no-output",
Expand Down

0 comments on commit 1d10468

Please sign in to comment.