Skip to content

Merge pull request #30 from PThorpe92/middleware #2

Merge pull request #30 from PThorpe92/middleware

Merge pull request #30 from PThorpe92/middleware #2

Workflow file for this run

name: Prettier action
on:
pull_request:
push:
branches: [main]
jobs:
prettier:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Run Prettier
id: prettier-run
uses: rutajdash/[email protected]
with:
config_path: ./.prettierrc.yml
- name: Prettier Output
if: ${{ failure() }}
shell: bash
run: |
echo "The following files are not formatted:"
echo "${{steps.prettier-run.outputs.prettier_output}}"