[Zod 4] RFC: ZodIssue
formats
#1917
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |