From d4917dbfec38d04b92c31790ae7ca91d84ed9377 Mon Sep 17 00:00:00 2001 From: Gabriel Ignat Date: Sun, 5 Feb 2023 17:08:25 +0000 Subject: [PATCH] chore: added google's `release-please-action` --- .github/workflows/release.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 278446d..84642d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file + - 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