Skip to content

Updating github actions and adding prettier #5

Updating github actions and adding prettier

Updating github actions and adding prettier #5

Workflow file for this run

name: Lint Frontend
on: [push, pull_request]
jobs:
linting:
name: Linting
defaults:
run:
working-directory: ./frontend
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 21
- name: Install dependencies
run: npm install
- name: Lint
run: |
npm run lint
npm run format