Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Update prettier check #2

Update prettier check

Update prettier check #2

Workflow file for this run

name: Prettier Check
on: pull_request
jobs:
prettier-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
- name: Install prettier
run: npm install --global prettier@latest
- name: Prettier check
run: prettier --check '**/*.ts' '**/*.json' --ignore-path .gitignore || (echo "Prettier check failed." && exit 1) && echo "Prettier check passed." && exit 0