Merge pull request #6 from lobehub/renovate/major-commitlint-monorepo #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install deps | |
run: bun i && bun run prepare | |
- name: lint | |
run: bun run lint | |
- name: Commit changes | |
run: |- | |
git diff | |
git config --global user.name "lobehubbot" | |
git config --global user.email "[email protected]" | |
git add . | |
git commit -m "🤖 chore: Auto format" || exit 0 | |
git push | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |