Merge upstream/main — bring in kleintech PRs #16-21, v0.1.0 #1
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Node ${{ matrix.node-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: ['20.x', '22.x'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| # --ignore-scripts skips the `prepare` hook (which runs `npm run build`). | |
| # Vitest uses esbuild and does not require a prior `tsc` build. | |
| - name: Install dependencies | |
| run: npm install --ignore-scripts | |
| - name: Run tests | |
| run: npm test |