docs: add code of conduct #63
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: ci | |
on: | |
push: | |
branches: [trunk] | |
pull_request: | |
branches: [trunk] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20, 21] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: corepack enable | |
- run: echo node `node --version`, pnpm v`pnpm --version` | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm --color --recursive --parallel run lint | |
- run: pnpm --color --recursive run typecheck | |
- run: pnpm --color run test |