Skip to content

fix eslint hook not running on main push #18

fix eslint hook not running on main push

fix eslint hook not running on main push #18

Workflow file for this run

name: Format Code
on:
pull_request:
push:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Prettier Action
uses: creyD/prettier_action@v4.3
with:
commit_message: "formatted code"
clean_node_folder: true
prettier_options: "--write {apps,packages}/**/*.*"