Skip to content

Add GitHub Actions CI workflows and lint fixes #1

Add GitHub Actions CI workflows and lint fixes

Add GitHub Actions CI workflows and lint fixes #1

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
name: ESLint & TypeScript Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run ESLint
run: yarn lint
- name: TypeScript type check
run: yarn tsc --noEmit