Skip to content

fix: run prettier everytime #1

fix: run prettier everytime

fix: run prettier everytime #1

Workflow file for this run

name: Run Prettier
on:
pull_request:
branches: [main]
push:
# only trigger on branches, not on tags
branches: '**'
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v3
with:
node-version: "20.x"
- run: npm ci
- run: npm run lint
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}