diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c0cc67f..b2856a06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,6 @@ jobs: - name: Install Dependencies run: pnpm i - - name: PNPM build - run: pnpm run build - - name: Publish to NPM run: pnpm -r publish --access public --no-git-checks env: diff --git a/package.json b/package.json index 6da0aadc..f37d0073 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "lint": "eslint --cache .", "format": "prettier --write .", "typecheck": "tsc --noEmit", - "release": "bumpp -r" + "release": "bumpp -r", + "prepublishOnly": "npm run build" }, "license": "MIT", "keywords": [