Skip to content

Commit

Permalink
chore: added google's release-please-action
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatG committed Feb 5, 2023
1 parent 12a393e commit d4917db
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@ on:

jobs:
release:
name: Release a new version 🚀
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install modules
run: npm ci
- name: Release 🚀
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CI: true
- 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}]'
extra-files: |
README.md
CHANGELOG.md

0 comments on commit d4917db

Please sign in to comment.