Skip to content

Commit

Permalink
Merge pull request #6 from agaroot-technologies/chore/publish
Browse files Browse the repository at this point in the history
[chore] Make the changelog automatically generated
  • Loading branch information
Karibash authored Oct 3, 2023
2 parents b9c82ea + 8072667 commit 900d9dd
Show file tree
Hide file tree
Showing 6 changed files with 1,085 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
14 changes: 14 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "agaroot-technologies/renovate-config" }
],
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish

on:
push:
branches:
- main

jobs:
release:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
fetch-depth: 0

- name: Setup
uses: ./.github/actions/setup

- name: Create release pull request or publish to npm
uses: changesets/action@f13b1baaa620fde937751f5d2c3572b9da32af23
with:
publish: pnpm run version:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @agaroot/renovate-config

## 1.0.0

### Major Changes

- First release.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@
},
"license": "MIT",
"scripts": {
"test": "renovate-config-validator default.json"
"test": "renovate-config-validator default.json",
"version": "changeset",
"version:apply": "changeset version",
"version:publish": "changeset tag"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.2",
"renovate": "37.4.0"
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit 900d9dd

Please sign in to comment.