Skip to content

Update Code Examples (#236) #226

Update Code Examples (#236)

Update Code Examples (#236) #226

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-20.04
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v3
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-20.04
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Run eslint
working-directory: ./app
run: pnpm run lint
build:
name: πŸ› οΈ Build
runs-on: ubuntu-20.04
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Build
working-directory: ./app
run: pnpm run build