Skip to content

improve: issues design #1024

improve: issues design

improve: issues design #1024

name: Prettier Format Check
on: [push, pull_request]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run Prettier
id: prettier
run: npx prettier --config .prettierrc --check "**/*.{js,jsx,ts,tsx,html,css,scss}"
- name: Display Prettier Output
if: failure()
run: cat $GITHUB_WORKSPACE/.github/workflows/prettier.log
continue-on-error: true