diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ffebc81..4ca4ac7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,8 +36,8 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: yarn release - version: yarn version + publish: yarn changeset:release + version: yarn changeset:version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 23a461d..ba22e37 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,13 @@ "scripts": { "build": "ultra -r build", "build:dts": "ultra -r --build build:dts", + "changeset:release": "yarn build && yarn changeset publish", + "changeset:version": "changeset version && yarn install --no-immutable", + "changeset:version:snapshot": "changeset version --snapshot main && yarn install --no-immutable", "clean": "ultra -r clean", "format": "eslint --fix --ext .js,.json,.ts,.tsx --ignore-path .gitignore .", - "release": "yarn build && yarn changeset publish", "test": "yarn build && ultra -r test", - "typecheck": "tsc --noEmit", - "version": "changeset version && yarn install --no-immutable", - "version:snapshot": "changeset version --snapshot main && yarn install --no-immutable" + "typecheck": "tsc --noEmit" }, "lint-staged": { "*.js": "eslint --fix --ignore-path .gitignore",