Skip to content

Commit

Permalink
fix: change release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
orionmiz committed Apr 12, 2024
1 parent 3b36e2b commit f510b63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f510b63

Please sign in to comment.