Skip to content

Commit

Permalink
build(semver): 🔧 Switch standard-version to release-please action
Browse files Browse the repository at this point in the history
- Remove depricated standard-version & config
- Add github workflow for release-please Github action for semver
- Tweak Changelog header/title content
- Remove script from package.json for standard-version
  • Loading branch information
Tim Stone committed Oct 15, 2023
1 parent d30f45f commit b2ffeee
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 25 deletions.
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
updates:

# Maintain dependencies for pnpm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "tsdevau"
reviewers:
- "tsdevau"

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "tsdevau"
reviewers:
- "tsdevau"
36 changes: 36 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: the-carpet-surgeon
pull-request-title-pattern: "chore${scope}: 🔖 `@tsdevau/codewars-kata-solutions` -> v${version}"
pull-request-header: ":robot: PR by release-please bot"
changelog-types: '[
{ "type": "feat", "section": "Features & Additions" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "style", "section": "Style & UX Improvements" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "revert", "section": "Work in Progress" },
{ "type": "wip", "section": "Work In Progress" },
{ "type": "init", "section": "Work in Progress" },
{ "type": "docs", "section": "Documentation" },
{ "type": "refactor", "section": "Code & DX Improvements" },
{ "type": "chore", "section": "General Config Updates" },
{ "type": "build", "section": "General Config Updates" },
{ "type": "test", "section": "Test Config Updates" },
{ "type": "ci", "hidden": true }
]'
25 changes: 0 additions & 25 deletions .versionrc.json

This file was deleted.

0 comments on commit b2ffeee

Please sign in to comment.