Skip to content

Commit

Permalink
ci: fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Feb 4, 2022
1 parent 2798328 commit 89aee8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 89aee8e

Please sign in to comment.