Skip to content

Commit

Permalink
feat: configuration semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
antonko committed Mar 29, 2024
1 parent cac8330 commit 01956d2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,25 @@ jobs:
with:
context: .
file: ./Dockerfile
push: false
push: false

semantic-release:
needs: [docker-build]
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator"
]
}

0 comments on commit 01956d2

Please sign in to comment.