Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Skelton committed Mar 4, 2022
1 parent e7ef84a commit d87fef2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
cache: yarn
- run: yarn install --immutable
- name: Create release pull request or publish to npm
uses: changesets/action@master
uses: changesets/action@v1
with:
publish: yarn tsc && yarn changeset publish
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"scripts": {
"lint": "eslint .",
"test": "jest",
"format": "prettier --write ."
"format": "prettier --write .",
"release": "yarn tsc && yarn changeset publish"
},
"peerDependencies": {
"i18next": ">=20"
Expand Down

0 comments on commit d87fef2

Please sign in to comment.