diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 041414f1..8a4bbdd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: uses: changesets/action@v1 with: version: yarn changeset version - publish: yarn changeset publish + publish: yarn release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 5c1d81cf..cec2c24c 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "build:all": "lerna run build", "lint:all": "lerna run lint", "test:all": "lerna run test", - "format:check": "prettier --check ." + "format:check": "prettier --check .", + "release": "yarn build:all && changeset publish" }, "workspaces": [ "extension",