diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3a8f891..ff260d3 100755 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -37,7 +37,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: pnpm exec turbo release + publish: pnpm exec turbo lint && pnpm exec turbo build && pnpm exec changeset publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 61e6ca0..afa9319 100755 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "build": "turbo build", "dev": "turbo dev", "lint": "turbo lint", - "release": "turbo lint && turbo build && pnpm exec changeset publish", "format": "prettier --write \"**/*.{ts,tsx,md}\"" }, "devDependencies": { diff --git a/turbo.json b/turbo.json index e62fc1a..c1c6f54 100755 --- a/turbo.json +++ b/turbo.json @@ -10,7 +10,6 @@ "lint": { "dependsOn": ["^lint"] }, - "release": {}, "dev": { "cache": false, "persistent": true,