Skip to content

Lint in CI

Lint in CI #3

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
- name: Install dependencies
run: |
npm ci cd test; npm ci
cd ../test-nextjs; npm i
cd ../test-router; npm ci
- name: Run linting
run: npm run lint