From 0012972e69f6fbfb6d98d28d01449d62c763aa52 Mon Sep 17 00:00:00 2001 From: Leo Melo Date: Thu, 4 Feb 2021 17:18:36 +0000 Subject: [PATCH] fix(tooling): fix semantic release git plugin configuration --- .github/workflows/release.yml | 6 +++--- .releaserc.json | 19 +++++++++++++++++-- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 186323e..dfaa7a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,11 +1,11 @@ -name: Release +name: release on: push: branches: - main jobs: release: - name: Release + name: release runs-on: ubuntu-18.04 steps: - name: Checkout @@ -16,7 +16,7 @@ jobs: node-version: 12 - name: Install dependencies run: npm ci - - name: Release + - name: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.releaserc.json b/.releaserc.json index e2914c3..460eb52 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,5 +1,20 @@ { "branches": ["main"], - "extends": "semantic-release-npm-github-publish", - "repositoryUrl": "git@github.com:leomeloxp/confiction.git" + "repositoryUrl": "git@github.com:leomeloxp/confiction.git", + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "conventionalcommits" + } + ], + [ + "@semantic-release/release-notes-generator", + { + "preset": "conventionalcommits" + } + ], + ["@semantic-release/github"], + ["@semantic-release/npm"] + ] }