From 9e5c675b76e10c0eb8b46f18387f7f87fc4343ba Mon Sep 17 00:00:00 2001 From: Yorke Rhodes Date: Wed, 22 Nov 2023 11:17:25 -0500 Subject: [PATCH] Fix publish script on changesets release action --- .github/workflows/release.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e29fc5da70..074f926cad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: yarn build && yarn publish:all + publish: yarn release env: NPM_CONFIG_PROVENANCE: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index c83aa712b4..a909cd50e7 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "version:prepare": "yarn changeset version", "version:check": "yarn changeset status", "publish:all": "yarn changeset publish", + "release": "yarn build && yarn publish:all", "postinstall": "husky install" }, "workspaces": [