diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db6ec16..ae99bcd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - node: [14, 16, 18, 20, 22] + node: [14, 16, 18, 20, 22, 24] steps: - uses: actions/checkout@v4 with: @@ -31,8 +31,9 @@ jobs: - name: test run: | - if [ "${{ matrix.node }}" == "22" ]; then + case "${{ matrix.node }}" in "20"|"22"|"24") npm run test:node22 - else - npm test - fi + ;;*) + npm test + ;; + esac