Skip to content

[add] Auto Format in GitHub actions (#1239) #886

[add] Auto Format in GitHub actions (#1239)

[add] Auto Format in GitHub actions (#1239) #886

Workflow file for this run

name: CI & CD
on:
push:
jobs:
Lint-and-Format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: pnpm
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: Lint & Format
run: pnpm format
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Auto Format