Skip to content

Commit

Permalink
chore: settings for semantic release on pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
arakakimath committed Feb 25, 2025
1 parent 737642a commit 200a1fb
Show file tree
Hide file tree
Showing 5 changed files with 10,561 additions and 4,219 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ name: CI
on:
push:
branches:
- integration-layer
- main

permissions:
id-token: write
contents: read
contents: write
issues: write
pull-requests: write

jobs:
build:
Expand All @@ -25,6 +27,11 @@ jobs:
- run: npm ci
- run: npm test

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

- name: Generate tag
id: generate-tag
run: |
Expand Down
22 changes: 22 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"
]
}
4 changes: 2 additions & 2 deletions client.http
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@baseUrl = http://localhost:3333
@baseUrl = https://localhost:3333

# @name create_user
POST {{baseUrl}}/users
Content-Type: application/json

{
"name": "Matheus Arakaki",
"cpf": "123.456.789-04",
"cpf": "123.456.789-00",
"password": "123457"
}

Expand Down
Loading

0 comments on commit 200a1fb

Please sign in to comment.