From 6ce7d35c1fc1fca3c92500c5d58870d6afbd4371 Mon Sep 17 00:00:00 2001 From: Rishi <52498617+kaushik-rishi@users.noreply.github.com> Date: Wed, 26 Jul 2023 21:10:21 +0530 Subject: [PATCH] ci: update release workflow on release branch (#956) --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8252eadd..6544ac8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,13 +11,14 @@ jobs: release: name: 'Create GitHub release' runs-on: ubuntu-latest - steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 + with: + node-version: 18 - name: Add plugin for conventional commits - run: npm install conventional-changelog-conventionalcommits + run: npm install --save-dev conventional-changelog-conventionalcommits@6.1.0 - name: Release to GitHub env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} @@ -25,4 +26,4 @@ jobs: GIT_AUTHOR_EMAIL: info@asyncapi.io GIT_COMMITTER_NAME: asyncapi-bot GIT_COMMITTER_EMAIL: info@asyncapi.io - run: npx semantic-release@17.4.3 + run: npx semantic-release@21.0.7