Skip to content

chore: fix github workflow #2

chore: fix github workflow

chore: fix github workflow #2

Workflow file for this run

name: Prettier 🚀🚀
on:
pull_request:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- run: pnpm install
- name: Run Prettier
run: pnpm prettier --write .
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'style: format with prettier'