Skip to content

Implement live types #1886

Implement live types

Implement live types #1886

Workflow file for this run

name: test
on:
push:
branches:
- "master"
- "main"
- "v4"
pull_request:
branches:
- master
- main
- v4
jobs:
test-node:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["latest"]
typescript: ["latest", "next"]
name: Test with TypeScript ${{ matrix.typescript }} on Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: pnpm add typescript@${{ matrix.typescript }} -w
- run: pnpm build
- run: pnpm test
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["latest"]
name: Lint on Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: pnpm format:check
- run: pnpm lint:check