Skip to content

WIP: Add pnpm workspace #41

WIP: Add pnpm workspace

WIP: Add pnpm workspace #41

Workflow file for this run

name: Tests / Lint
on: [pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
name: Run tests with Node.js ${{ matrix.node-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm config --global set dedupe-peer-dependents=false
- run: pnpm --filter=react-esi install
- run: pnpm --filter=react-esi run lint
- run: pnpm --filter=react-esi run typecheck
- run: pnpm --filter=react-esi run build
- run: pnpm --filter=react-esi run test