Skip to content

Commit

Permalink
ci(cd): migrate to manifest config
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Oct 14, 2024
1 parent 4afb407 commit 428a865
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 21 deletions.
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ updates:
include: scope
prefix: ci
directory: /
ignore:
# Staying on v3 due to incomplete migration guide for v4
- dependency-name: google-github-actions/release-please-action
update-types: ["version-update:semver-major"]
open-pull-requests-limit: 20
schedule:
interval: monthly
Expand Down
18 changes: 18 additions & 0 deletions .github/release-please/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"release-type": "node",
"prerelease": false,
"include-component-in-tag": false,
"changelog-sections": [
{ "section": "Bug fixes", "type": "fix", "hidden": false },
{ "section": "Continuous integration", "type": "ci", "hidden": false },
{ "section": "Dependencies", "type": "build", "hidden": false },
{ "section": "Documentation", "type": "docs", "hidden": false },
{ "section": "Features", "type": "feat", "hidden": false },
{ "section": "Improvements", "type": "perf", "hidden": false },
{ "section": "Improvements", "type": "refactor", "hidden": false },
{ "section": "Miscellaneous", "type": "chore", "hidden": false },
{ "section": "Miscellaneous", "type": "style", "hidden": false },
{ "section": "Tests", "type": "test", "hidden": false }
],
"packages": { ".": {} }
}
1 change: 1 addition & 0 deletions .github/release-please/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"7.2.2"}
20 changes: 3 additions & 17 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,10 @@ jobs:
steps:
- name: Release Please
id: release
# Staying on v3 due to incomplete migration guide for v4
uses: google-github-actions/release-please-action@v3
uses: googleapis/release-please-action@v4
with:
changelog-types: >
[
{ "section": "Bug fixes", "type": "fix", "hidden": false },
{ "section": "Continuous integration", "type": "ci", "hidden": false },
{ "section": "Dependencies", "type": "build", "hidden": false },
{ "section": "Documentation", "type": "docs", "hidden": false },
{ "section": "Features", "type": "feat", "hidden": false },
{ "section": "Improvements", "type": "perf", "hidden": false },
{ "section": "Improvements", "type": "refactor", "hidden": false },
{ "section": "Miscellaneous", "type": "chore", "hidden": false },
{ "section": "Miscellaneous", "type": "style", "hidden": false },
{ "section": "Tests", "type": "test", "hidden": false }
]
release-type: node
package-name: node-poppler
config-file: .github/release-please/config.json
manifest-file: .github/release-please/manifest.json

publish-npm:
name: Publish to NPM
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ dist
package.json
CHANGELOG.md
types/
.github/release-please/manifest.json

# lock files
bun.lockb
Expand Down

0 comments on commit 428a865

Please sign in to comment.