node_modules is ignored by default in tsconfig.json #42
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: Main | |
on: [push, pull_request] | |
jobs: | |
main: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node: ['20', '22'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install --global pnpm@8 | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm build | |
- run: pnpm test | |
- run: pnpm format:check | |
if: matrix.os == 'ubuntu-latest' | |
- run: pnpm bench:json |