feat: add Node 24 support #336
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: Unit Test | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| jobs: | |
| # TODO: remove once branch protection is updated to drop unit (16) | |
| unit-legacy: | |
| name: 'unit (16)' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "Deprecated — Node 16 is EOL. This job exists only to satisfy branch protection." | |
| unit: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [18, 20, 22, 24] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-node | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Test | |
| env: | |
| STREAM_APP_ID: ${{ secrets.STREAM_APP_ID }} | |
| STREAM_API_KEY: ${{ secrets.STREAM_API_KEY }} | |
| STREAM_API_SECRET: ${{ secrets.STREAM_API_SECRET }} | |
| run: yarn run test-unit-node |