Skip to content

perf(shared): do not check if value is important before checking if it is null #5955

perf(shared): do not check if value is important before checking if it is null

perf(shared): do not check if value is important before checking if it is null #5955

Workflow file for this run

name: Quality
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
uses: ./.github/composite-actions/install
- name: Run Prettier
run: pnpm prettier
tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
uses: ./.github/composite-actions/install
- name: Run tests
run: pnpm test && pnpm test:codegen
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
uses: ./.github/composite-actions/install
- name: Run ESLint
run: pnpm lint
env:
NODE_OPTIONS: "--max-old-space-size=4096"
types:
name: TypeScript
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
uses: ./.github/composite-actions/install
- name: Run TypeScript type check
run: pnpm typecheck