diff --git a/.changeset/config.json b/.changeset/config.json index cfd763f..6827d4a 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,6 +1,6 @@ { "$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json", - "changelog": "@changesets/cli/changelog", + "changelog": ["@changesets/changelog-github", { "repo": "okwasniewski/react-native-bottom-tabs" }], "commit": true, "fixed": [ [ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2c6b26..9c90bd9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,12 @@ jobs: - name: Install Dependencies run: yarn - - name: Create Release Pull Request + - name: Create Release Pull Request or Publish to NPM uses: changesets/action@v1 + with: + publish: yarn publish-packages + commit: "chore(release): version packages" + title: "chore(release): version packages" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}