Skip to content

Commit

Permalink
chore: automated releases based on conventional commits
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatG committed Feb 5, 2023
1 parent 03cb77f commit a4a740d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Automated release

on:
push:
branches: [ main ]

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Release a new version 🚀
uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: uk-export-finance/mdm-api
changelog-types: '[
{ "type": "feat", "section": "Features", "hidden": false},
{ "type": "fix", "section": "Bug Fixes", "hidden": false},
{ "type": "chore", "section": "Miscellaneous", "hidden": false},
{ "type": "docs", "section": "Documentation", "hidden": false}
]'
extra-files: |
README.md
CHANGELOG.md
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
- [x] Swagger based documentation
- [x] Config based on ENV variables
- [x] Automated API versioning `(/v1)`
- [ ] Automated releases based on conventional commits
- [ ] Automated version bumps based on commit messages
- [x] Automated releases based on conventional commits
- [x] Automated version bumps based on commit messages
- [ ] Configuration for Jest tests
- [ ] Alias paths
- [ ] CodeCov to analyse the test coverage
Expand Down

0 comments on commit a4a740d

Please sign in to comment.