Skip to content

Commit

Permalink
feat(ci): refactro release action
Browse files Browse the repository at this point in the history
this will refactor release action

BREAKING CHANGE: restructure build output
  • Loading branch information
sh4hids committed Mar 23, 2022
1 parent e9eced5 commit 42f82e7
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 @@ -21,7 +21,7 @@ jobs:
- name: Validating build
run: npm run validate
- name: Publish to NPM
run: npx semantic-release
run: npm run semantic-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 @@ -17,7 +17,7 @@
"lint-staged": "lint-staged",
"prepare": "husky install",
"commit": "cz",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release --brances main"
},
"files": [
"lib/*"
Expand Down

0 comments on commit 42f82e7

Please sign in to comment.