From 1d10468459fe505a3e9d171dca6ba643903da7f8 Mon Sep 17 00:00:00 2001 From: Cohan Carpentier Date: Tue, 2 Apr 2024 11:43:00 -0400 Subject: [PATCH] chore: add typecheck to precommit --- .github/workflows/release-package.yml | 1 - .husky/pre-commit | 1 + package.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 7a307d3..e9d762a 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -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 }} \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index c92bfe1..846fbe5 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,5 @@ #!/bin/bash +bun run typecheck bun run bump:version git add package.json \ No newline at end of file diff --git a/package.json b/package.json index fc73c03..f4a2e78 100644 --- a/package.json +++ b/package.json @@ -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",