Skip to content

Commit

Permalink
fix(tooling): fix semantic release git plugin configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
leomeloxp committed Feb 4, 2021
1 parent 2788a8d commit 0012972
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 }}
Expand Down
19 changes: 17 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
{
"branches": ["main"],
"extends": "semantic-release-npm-github-publish",
"repositoryUrl": "[email protected]:leomeloxp/confiction.git"
"repositoryUrl": "[email protected]:leomeloxp/confiction.git",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
["@semantic-release/github"],
["@semantic-release/npm"]
]
}

0 comments on commit 0012972

Please sign in to comment.