Skip to content

build(deps-dev): bump eslint from 9.11.1 to 9.12.0 (#82) #243

build(deps-dev): bump eslint from 9.11.1 to 9.12.0 (#82)

build(deps-dev): bump eslint from 9.11.1 to 9.12.0 (#82) #243

Workflow file for this run

name: Format Code
on:
workflow_dispatch:
push:
branches:
- main
env:
token: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "*"
- uses: pnpm/action-setup@v4
with:
version: latest
- run: pnpm install
- name: Format Code
run: |
pnpm lint || true
pnpm format
- name: Commit changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git add .
git commit -am "chore: format code" || true
git push