Skip to content

Commit

Permalink
ci: add release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
rowan-gud committed Feb 28, 2024
1 parent c0cbb04 commit 34d56a3
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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@v4
with:
token: ${{ secrets.ACTIONS_GITHUB_PAT }}
release-type: node
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## 1.0.0-rc.0 (2024-02-28)
6 changes: 6 additions & 0 deletions changelog.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const config = require('conventional-changelog-conventionalcommits');

module.exports = config({
issuePrefixes: ['#'],
issueUrlFormat: 'https://jira.cms.gov/browse/{{prefix}}{{id}}',
});
50 changes: 50 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"changelog": "conventional-changelog -n ./changelog.config.js -i CHANGELOG.md -s -r 0"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.11.21",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"conventional-changelog-conventionalcommits": "^7.0.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
Expand Down

0 comments on commit 34d56a3

Please sign in to comment.