Skip to content

chore: unify workflow setup and add more checks #19

chore: unify workflow setup and add more checks

chore: unify workflow setup and add more checks #19

Workflow file for this run

name: Checks
on:
push:
branches:
- main
paths-ignore:
- "docs/**"
- "README.md"
pull_request:
paths-ignore:
- "docs/**"
- "README.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Setup
uses: ./.github/setup
- name: Lint
run: yarn lint
types:
name: Types
runs-on: ubuntu-latest
steps:
- name: Setup
uses: ./.github/setup
- name: Type check
run: yarn tsc -p .
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Setup
uses: ./.github/setup
- name: Test
run: yarn test --max-workers="75%" --coverage
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup
uses: ./.github/setup
- name: Build
run: yarn build