Skip to content

chore: enable corepack in actions and move from husky to lefthook #27

chore: enable corepack in actions and move from husky to lefthook

chore: enable corepack in actions and move from husky to lefthook #27

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: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/setup
- name: Lint
run: yarn lint
types:
name: Types
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/setup
- name: Type check
run: yarn tsc -p .
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/setup
- name: Test
run: yarn test --max-workers="75%" --coverage
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/setup
- name: Build
run: yarn build