Skip to content

Configure eslint and add github actions for build and lint validations #6

Configure eslint and add github actions for build and lint validations

Configure eslint and add github actions for build and lint validations #6

Workflow file for this run

name: Validations
on: [push, pull_request]
jobs:
lint:
name: 🧹 Code style and file formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Lint
run: npx prisma generate && npm run lint