Skip to content

React types

React types #82

Workflow file for this run

# Adopted from https://github.com/mattpocock/pkg-demo/blob/main/.github/workflows/main.yml
name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Setup PNPM"
uses: pnpm/action-setup@v2
with:
version: 9
- name: "Setup node"
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "pnpm"
- name: "Install dependencies"
run: pnpm install --frozen-lockfile
- name: "Build packages"
run: pnpm build-packages
- name: "Run type-check"
run: pnpm check-types
- name: "Run lint"
run: pnpm lint
- name: "Run tests"
run: pnpm test