diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2578b86aa7..7c0ccf52ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,6 @@ jobs: node-version: 20.x registry-url: 'https://registry.npmjs.org' cache: pnpm - - name: Install run: pnpm install @@ -33,8 +32,8 @@ jobs: - name: lint run: pnpm lint - - name: typecheck - run: pnpm typecheck - - name: test run: pnpm test + + - name: typecheck + run: pnpm typecheck diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index baf75defb3..e2235cfc33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,6 @@ jobs: else - name: Publish to npm - run: pnpm publish --access public --tag ${{steps.check_version.outputs.tag}} + run: npm publish --access public --tag ${{steps.check_version.outputs.tag}} env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file diff --git a/package.json b/package.json index 47b64bb8ca..4d03873429 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "format": "biome format . --write", "lint": "biome check .", "lint:fix": "biome check . --apply", - "release": "bumpp -r", + "release": "pnpm typecheck && pnpm test && pnpm build && bumpp -r", "test": "turbo --filter \"./packages/*\" test", "typecheck": "turbo --filter \"./packages/*\" typecheck" },