fix(deps): update all non-major dependencies #132
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: Fix | |
on: | |
push: | |
branches-ignore: | |
- main | |
- dev | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: pnpm | |
- run: pnpm i | |
- name: Format | |
run: pnpm run format | |
- name: Commit files and push | |
continue-on-error: true | |
if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }} | |
run: | | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git add --all | |
git commit -m "chore(ci): [bot] format code" | |
git push |