From 23fb9411e676e33ad0b6d29abc13811d8a01976a Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Tue, 11 Jan 2022 13:50:57 +0100 Subject: [PATCH] ci: fix semantic workflow (#3) --- .github/workflows/tests.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3172f37..4445cad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -129,12 +129,20 @@ jobs: name: Semantic release if: github.event_name != 'pull_request' + env: + node-version: 16 + steps: - name: Checkout repository uses: actions/checkout@v2 with: fetch-depth: 0 # Get all tags + - name: Use Node.js ${{ env.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ env.node-version }} + - name: Semantic Release uses: cycjimmy/semantic-release-action@v2 id: semantic @@ -142,9 +150,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN_RELEASE: ${{ secrets.GH_TOKEN_RELEASE }} with: - semantic_version: 17.3.7 + semantic_version: 18 extra_plugins: | - @semantic-release/changelog + @semantic-release/changelog@6 semantic-release-github-pullrequest - name: New release published