Skip to content

Commit 50a4135

Browse files
committed
fix: Update release-please-action
1 parent a75c435 commit 50a4135

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,11 @@ jobs:
1919
registry-url: 'https://registry.npmjs.org'
2020
- uses: codex-team/action-nodejs-package-info@v1
2121
id: package
22-
- uses: GoogleCloudPlatform/release-please-action@v3
22+
- uses: googleapis/release-please-action@v4
2323
id: release
2424
with:
2525
token: ${{secrets.YC_UI_BOT_GITHUB_TOKEN}}
2626
release-type: node
27-
package-name: ${{steps.package.outputs.name}}
28-
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"perf","section":"Performance Improvements","hidden":false},{"type":"deps","section":"Dependency update","hidden":false}]'
29-
bump-minor-pre-major: true
3027
- run: npm ci && npm publish
3128
env:
3229
NODE_AUTH_TOKEN: ${{secrets.ROBOT_DATAUI_NPM_TOKEN}}

release-please-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"bump-minor-pre-major": true,
3+
"changelog-sections": [
4+
{"type":"feat","section":"Features","hidden":false},
5+
{"type":"fix","section":"Bug Fixes","hidden":false},
6+
{"type":"perf","section":"Performance Improvements","hidden":false},
7+
{"type":"deps","section":"Dependency update","hidden":false}
8+
]
9+
}

0 commit comments

Comments
 (0)