diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8252eadd8..6544ac8f5 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