5151 uses : actions/setup-node@v4
5252 id : node
5353 with :
54- node-version : 22 .x
55- check-latest : contains('22 .x', '.x')
54+ node-version : 24 .x
55+ check-latest : contains('24 .x', '.x')
5656 - name : Install Latest npm
5757 uses : ./.github/actions/install-latest-npm
5858 with :
9595 - 20.x
9696 - 22.9.0
9797 - 22.x
98+ - 24.x
9899 exclude :
99100 - platform : { name: macOS, os: macos-13, shell: bash }
100101 node-version : 20.17.0
@@ -104,6 +105,8 @@ jobs:
104105 node-version : 22.9.0
105106 - platform : { name: macOS, os: macos-13, shell: bash }
106107 node-version : 22.x
108+ - platform : { name: macOS, os: macos-13, shell: bash }
109+ node-version : 24.x
107110 runs-on : ${{ matrix.platform.os }}
108111 defaults :
109112 run :
@@ -137,9 +140,14 @@ jobs:
137140 node : ${{ steps.node.outputs.node-version }}
138141 - name : Install Dependencies
139142 run : npm i --ignore-scripts --no-audit --no-fund
140- - name : Add Problem Matcher
141- run : echo "::add-matcher::.github/matchers/tap.json"
143+ - name : Test (with coverage on Node >= 24)
144+ if : ${{ startsWith(matrix.node-version, '24') }}
145+ run : npm run test:cover --ignore-scripts
146+ - name : Test (on Node 20 with globbing workaround)
147+ if : ${{ startsWith(matrix.node-version, '20') }}
148+ run : npm run test:node20 --ignore-scripts
142149 - name : Test
150+ if : ${{ !startsWith(matrix.node-version, '24') && !startsWith(matrix.node-version, '20') }}
143151 run : npm test --ignore-scripts
144152 - name : Conclude Check
145153 uses :
LouisBrunner/[email protected]
0 commit comments