build(deps): bump actions/setup-node from 5 to 6 #2017
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: 'build-test' | |
| on: # rebuild any PRs and main branch changes | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test-node-versions: # make sure build/ci work properly | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| node-version: [20.x, 22.x, 24.x] | |
| include: | |
| - os: windows-latest | |
| node-version: 24.x | |
| # - os: macos-latest | |
| # node-version: 24.x | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - run: node -v | |
| - run: pnpm install | |
| - run: pnpm run build | |
| - run: pnpm run test | |
| test-browser-versions: # make sure build/ci work properly | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "Browser tests are not yet implemented." | |
| test-package-types: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| cache: 'pnpm' | |
| - run: pnpm install | |
| - run: pnpm run build | |
| - run: pnpm run test:attw #cspell:ignore attw |