Fix #175 by removing system.exit calls in the built-in handlers #301
Workflow file for this run
This file contains hidden or 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: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # https://nodejs.org/en/about/previous-releases | |
| node-version: [20, 22, 24] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.13.1 | |
| run_install: false # do manual install to avoid heap memory errors | |
| - name: Install dependencies | |
| # lower parallelism to save RAM | |
| run: pnpm install --frozen-lockfile --network-concurrency=1 | |
| - name: Build all packages | |
| run: pnpm build | |
| - name: Run linter | |
| run: pnpm lint | |
| - name: Compile examples | |
| run: pnpm -r build-check | |
| - name: Run tests | |
| run: pnpm test |