Skip to content

Update README.md

Update README.md #175

Workflow file for this run

name: JS Lint
# This action works with pull requests and pushes
on:
pull_request:
push:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
fetch-depth: 0
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
token: ${{ github.token }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install Prettier
run: npm install -g prettier
- name: Prettify code
run: prettier --check "frontend/src/**/*.{js,jsx,css,tsx,html}"