Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/publish-npm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish to NPM

on:
release:
types: [published]

jobs:
publish:
uses: sendo-labs/reusable-workflows/.github/workflows/npm-publish.yml@v1.0.0
with:
bun-version: 'latest'
node-version: '22'
working-directory: '.'
registry-url: 'https://registry.npmjs.org'
skip-tests: false
skip-build: false
access: 'public'
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto Release

on:
push:
branches:
- main # ou master
- feat/workflows

jobs:
release:
uses: sendo-labs/reusable-workflows/.github/workflows/release.yml@v1.0.0
with:
release-type: node
permissions:
contents: write
pull-requests: write
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.0.0"
}
26 changes: 26 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"release-type": "simple",
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "simple",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
},
"changelog-sections": [
{ "type": "feat", "section": "✨ Features", "hidden": false },
{ "type": "fix", "section": "🐛 Bug Fixes", "hidden": false },
{ "type": "perf", "section": "⚡ Performance Improvements", "hidden": false },
{ "type": "revert", "section": "⏪ Reverts", "hidden": false },
{ "type": "docs", "section": "📚 Documentation", "hidden": false },
{ "type": "style", "section": "💎 Styles", "hidden": true },
{ "type": "chore", "section": "🔧 Miscellaneous", "hidden": false },
{ "type": "refactor", "section": "♻️ Code Refactoring", "hidden": false },
{ "type": "test", "section": "✅ Tests", "hidden": true },
{ "type": "build", "section": "📦 Build System", "hidden": true },
{ "type": "ci", "section": "👷 Continuous Integration", "hidden": true }
]
}