diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 395fe1a4..6e121a1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: uses: changesets/action@v1 with: commit: 'chore(release): release by changesets' - publish: pnpm publish:all + publish: pnpm changeset publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 219efcc8..8557ddc5 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "lint": "pnpm run lint:es", "lint:es": "eslint \"packages/**/{src,styles,bin}/**/*.{js,jsx,ts,tsx}\"", "prepare": "husky install && dumi setup", - "publish:all": "cd packages/banana && pnpm publish && cd ../banana-react && pnpm publish && cd ../../ && pnpm changeset tag", "start": "pnpm run dev", "test": "cd packages/banana && pnpm run test" },