Skip to content

feat: add Node 24 support #336

feat: add Node 24 support

feat: add Node 24 support #336

Workflow file for this run

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