diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4979d9..7508d4a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: - name: Create release pull request or publish to npm uses: changesets/action@v1 with: - publish: yarn publish + publish: yarn release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 79e3244..c7ad727 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "scripts": { "lint": "eslint .", "test": "jest", - "publish": "yarn tsc && yarn changeset publish" + "release": "yarn tsc && yarn changeset publish" }, "peerDependencies": { "i18next": ">=20"