Skip to content

Added prettier

Added prettier #149

Workflow file for this run

name: Lint and Format
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm install
- name: Run EsLint
run: npm run lint
- name: Run Prettier
run: npm run format -- --check