fix: Make config TypeScript compatible #448
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: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 20.x] | |
steps: | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: mskelton/setup-pnpm@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: pnpm fmt:check | |
- run: pnpm lint | |
- run: pnpm test | |
- run: pnpm ts |