Skip to content

chore: run format test on push to main branch #1

chore: run format test on push to main branch

chore: run format test on push to main branch #1

Workflow file for this run

name: Format
on:
push:
branches: [ main, master ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v1
with:
node-version: '20.x'
- run: npm ci
- run: npm run format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4.1.2
with:
commit_message: "chore: run format"
branch: ${{ github.head_ref }}