Skip to content

add the changelog generator and github release action #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Install packages
run: npm install

- name: Verify change files
run: npx ccg change --verify

- name: Check formatting
run: npm run check-formatting

Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: create a release

# TODO: remove trigger
on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Run the release script
env:
PAT_TOKEN: ${{ secrets.RELEASE_PAT_TOKEN }}
GIT_EMAIL: ${{ vars.RELEASE_GIT_EMAIL }}
run: ../scripts/release.sh
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"psi-header.templates": [
{
"language": "*",
"template": [" Copyright <<year>> <<company>>"]
"template": [" Copyright <<company>>"]
}
],
"psi-header.config": {
Expand Down Expand Up @@ -57,6 +57,13 @@
"begin": "",
"end": "",
"prefix": "//"
},
{
"language": ".sh",
"begin": "",
"end": "",
"prefix": "#",
"beforeHeader": ["#!/usr/bin/env bash"]
}
],
"search.exclude": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@mfbtech/react-async-renderer",
"comment": "Add changelog generator as a development tool",
"type": "NONE"
}
]
}
Loading
Loading