Skip to content

Workflow file for this run

name: Format JavaScript Code using Prettier
on:
pull_request:
branches: [main]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Prettify code
uses: creyD/[email protected]
with:
working_directory: fastn-js/js
prettier_options: --write **/*.{js,md}
only_changed: True