From 23f58fbdacb56339aafad9354beba7b35b25965f Mon Sep 17 00:00:00 2001 From: Abhi Markan Date: Wed, 22 May 2024 18:13:19 +0100 Subject: [PATCH] fix(release-please): changed to GitHub plugin --- .github/workflows/publish.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5f299097..308bf15b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,11 +1,11 @@ -# MDM Git Hub Actions +# Git Hub Actions ##################################### # This GHA is responsible for creating automated -# GitHub release based PRs. Once the PR is merged, -# Google Release Please will update the `CHANGELOG.md`, -# `README.md` and `package.json` files, followed by -# tagging the commit with the appropriate version -# number (as per SemVer) and creating a GitHub tag for the release. +# GitHub release based PR. Once the PR is merged +# Google release please will update the `CHANGELOG.md` +# `README.md` and `package.json` files. +# Followed by tagging the commit with the appropriate version +# number (as per SemVer) and create a GitHub release on the tag. name: Automated release run-name: Executing release on ${{ github.repository }} 🚀 @@ -45,10 +45,8 @@ jobs: - name: Repository uses: actions/checkout@v4 - - name: Dependencies - working-directory: ./ - run: npm ci --legacy-peer-deps - - name: Create - working-directory: ./ - run: npx release-please release-pr --token=${{ secrets.RELEASE_TOKEN }} --repo-url=https://github.com/${{ github.repository }} --release-type=node + uses: googleapis/release-please-action@v4 + with: + token: ${{ secrets.RELEASE_TOKEN }} + release-type: node