Skip to content

ci(.github/workflows): add 'test.yml' and rename job #2757

ci(.github/workflows): add 'test.yml' and rename job

ci(.github/workflows): add 'test.yml' and rename job #2757

Workflow file for this run

name: Lint and Type
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command: ['format', 'types', 'lint']
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'pnpm'
- run: pnpm install
- run: pnpm run test:${{ matrix.command }}