diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml index 831ee4d..2e81d16 100644 --- a/.github/workflows/changeset.yml +++ b/.github/workflows/changeset.yml @@ -24,8 +24,8 @@ jobs: - name: Create release PR or publish release uses: changesets/action@v1 with: - version: yarn changeset version - publish: yarn changeset publish + version: yarn changeset:version + publish: yarn changeset:release commit: 'chore: version package' title: 'chore: version package' createGithubReleases: true diff --git a/package.json b/package.json index 6fc0ef4..ad53584 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,10 @@ "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", - "prepare": "bob build" + "build": "bob build", + "changeset": "changeset", + "changeset:version": "changeset version", + "changeset:release": "yarn build && changeset publish" }, "keywords": [ "react-native",