Skip to content

Add fmt command

Add fmt command #6

Workflow file for this run

name: prettify check
permissions: read-all
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
prettier:
runs-on: ubuntu-latest
name: Prettier
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'
- name: Install Dependencies
run: npm install --no-save
- name: Run Prettier
run: npx prettier --check .