Skip to content

Update Linting

Update Linting #279

Workflow file for this run

name: πŸ”Ž
on:
push:
branches: [master, main]
merge_group:
pull_request:
branches: [master, main]
# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
cancel-in-progress: true
env:
NODE_OPTIONS: '--max_old_space_size=8192'
jobs:
typecheck:
name: 🟦 Typescript
runs-on: ubuntu-latest
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Run typecheck
working-directory: ./app
run: pnpm run typecheck
eslint:
name: πŸ‘• Linting
runs-on: ubuntu-latest
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Run eslint
working-directory: ./app
run: pnpm run lint
build:
name: πŸ› οΈ Build
runs-on: ubuntu-latest
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Build
working-directory: ./app
run: pnpm run build