From 89aee8eba764a1a8103134ba15352fa0b73a2c4a Mon Sep 17 00:00:00 2001 From: Francesco Ceccon Date: Fri, 4 Feb 2022 18:19:51 +0000 Subject: [PATCH] ci: fix release action --- .github/workflows/release.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91be4d01..e05da6ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Create Release Pull Request or Publish to npm uses: changesets/action@v1 with: - publish: yarn publish + publish: yarn run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index c2058fef..5ed4269b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint": "eslint packages --ext .js,.ts,.tsx", "types:check": "tsc --skipLibCheck --noEmit", "test": "jest", - "publish": "yarn build && yarn changeset publish", + "release": "yarn build && yarn changeset publish", "prepare": "husky install" }, "dependencies": {