Skip to content

Commit

Permalink
chore: generate changelog file as part of release
Browse files Browse the repository at this point in the history
fixes #361
  • Loading branch information
SimenB authored and G-Rath committed Oct 27, 2019
1 parent b9213e0 commit 7fafcd2
Show file tree
Hide file tree
Showing 3 changed files with 2,566 additions and 79 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
run: yarn typecheck
- name: run tests
run: yarn test --coverage
- run: npx semantic-release@15
- run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 11 additions & 0 deletions package.json
Expand Up @@ -46,6 +46,7 @@
"@babel/preset-typescript": "^7.3.3",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@semantic-release/changelog": "^3.0.5",
"@types/eslint": "^6.1.3",
"@types/jest": "^24.0.15",
"@types/node": "^12.6.6",
Expand All @@ -66,6 +67,7 @@
"prettier": "^1.10.2",
"prettylint": "^1.0.0",
"rimraf": "^3.0.0",
"semantic-release": "^15.13.28",
"typescript": "^3.5.3"
},
"prettier": {
Expand Down Expand Up @@ -122,5 +124,14 @@
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github"
]
}
}

0 comments on commit 7fafcd2

Please sign in to comment.