Skip to content

ci: fix release workflow #73

ci: fix release workflow

ci: fix release workflow #73

Workflow file for this run

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