Skip to content

Commit

Permalink
fix: changelog preset path and added release step back
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftwork committed Dec 12, 2019
1 parent 84aea10 commit b3dd3ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Expand Up @@ -36,7 +36,7 @@ jobs:
run: npm run build

- name: Publish public packages
run: lerna publish from-git --yes
run: npm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -22,7 +22,7 @@
],
"husky": {
"hooks": {
"commit-msg": "node scripts/commit-msg.js"
"commit-msg": "node ./scripts/commit-msg.js"
}
},
"scripts": {
Expand All @@ -31,7 +31,8 @@
"test": "lerna run test --stream",
"docs": "lerna run docs --stream",
"docs:deploy": "lerna run docs:deploy --stream",
"version": "lerna version --conventional-commits --yes --changelog-preset scripts/changelog.js"
"version": "lerna version --conventional-commits --changelog-preset ./scripts/changelog.js --yes",
"release": "lerna publish from-git --yes"
},
"dependencies": {
"react": "^16.12.0",
Expand Down

0 comments on commit b3dd3ce

Please sign in to comment.