simplify deps #103
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: test | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| - "master" | |
| pull_request: | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # Maintained Node.js LTS lines. The published es5 dist still runs on | |
| # older Node, but the test runner (node:test) requires Node >= 18. | |
| node: [22, 24] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: npm ci | |
| run: npm ci --ignore-scripts | |
| - name: test | |
| run: npm run test:coverage | |
| - name: lint | |
| run: npm run lint | |
| - name: typecheck | |
| run: npm run typecheck |