Skip to content

Commit

Permalink
Merge pull request #23 from hayawata3626/22-release-automation
Browse files Browse the repository at this point in the history
  • Loading branch information
hayawata3626 authored Nov 14, 2023
2 parents 92726f7 + 3ce01c9 commit a936194
Show file tree
Hide file tree
Showing 6 changed files with 1,205 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
2 changes: 2 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TYPESCRIPT_DEFAULT_STYLE: prettier
VALIDATE_JSCPD: false
VALIDATE_ALL_CODEBASE: false
FILTER_REGEX_EXCLUDE: .husky/commit-msg
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: release-please

on:
push:
branches: [main]

workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: team-approval-checker
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit
Loading

0 comments on commit a936194

Please sign in to comment.