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 df963f0 commit 7a5e7fd
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 publish
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"
"test": "jest",
"publish": "yarn tsc && yarn changeset publish"
},
"peerDependencies": {
"i18next": ">=20"
Expand Down

0 comments on commit 7a5e7fd

Please sign in to comment.