Skip to content

Workflow file for this run

name: Source Code Check
on:
push:
jobs:
lint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci # It's better to use npm ci in CI/CD environments
- run: npm run lint:strict
# tsc:
# name: Run Type Check
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: "18"
# cache: "npm"
# - run: npm ci
# - run: npm run typecheck
prettier:
name: Run Prettier Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
- run: npm run format:check