Skip to content

Commit

Permalink
feat(git-actions) create releases
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoPorfirio01 committed Aug 3, 2024
1 parent 90d909b commit 5c9ce53
Show file tree
Hide file tree
Showing 4 changed files with 5,212 additions and 2,873 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ jobs:

- name: Install dependencies
run: pnpm install

- name: Semantic release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}

- name: Generate tag
id: generate_tag
run: |
Expand Down
25 changes: 25 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changeLogFile": "CHANGELOG.md"
}

],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
]
}
],
"@semantic-release/github"
]
}
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.1.3",
"@semantic-release/release-notes-generator": "^14.0.1",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
Expand Down
Loading

0 comments on commit 5c9ce53

Please sign in to comment.