@@ -15,17 +15,17 @@ jobs:
1515 build :
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v5
18+ - uses : actions/checkout@v7
1919 with :
2020 persist-credentials : false
21- - name : Use Node.js 24
22- uses : actions/setup-node@v5
21+ - name : Use Node.js 26
22+ uses : actions/setup-node@v7
2323 with :
24- node-version : 24
24+ node-version : 26
2525 cache : ' npm'
2626 - run : npm ci
2727 - run : npm run build
28- - uses : actions/upload-artifact@v5
28+ - uses : actions/upload-artifact@v7
2929 with :
3030 name : build
3131 path : |
@@ -40,22 +40,22 @@ jobs:
4040 runs-on : ubuntu-latest
4141 steps :
4242 - name : Checkout
43- uses : actions/checkout@v5
43+ uses : actions/checkout@v7
4444 with :
4545 persist-credentials : false
4646 - name : Setup Node.js
47- uses : actions/setup-node@v5
47+ uses : actions/setup-node@v7
4848 with :
49- node-version : 24
49+ node-version : 26
5050 cache : ' npm'
51- - uses : actions/download-artifact@v5
51+ - uses : actions/download-artifact@v8
5252 with :
5353 name : build
5454 - name : Fetch deps
5555 run : npm ci
5656 - name : Run tests
5757 run : npm run test
58- - uses : actions/upload-artifact@v5
58+ - uses : actions/upload-artifact@v7
5959 with :
6060 name : coverage
6161 path : |
@@ -77,16 +77,16 @@ jobs:
7777 id-token : write
7878 steps :
7979 - name : Checkout
80- uses : actions/checkout@v5
80+ uses : actions/checkout@v7
8181 with :
8282 fetch-depth : 0
8383 persist-credentials : false
8484 - name : Setup Node.js
85- uses : actions/setup-node@v5
85+ uses : actions/setup-node@v7
8686 with :
87- node-version : 24
87+ node-version : 26
8888 cache : ' npm'
89- - uses : actions/download-artifact@v5
89+ - uses : actions/download-artifact@v8
9090 with :
9191 merge-multiple : true
9292 - name : Run release
@@ -116,17 +116,17 @@ jobs:
116116 name : test-node-${{ matrix.node-version }}
117117 strategy :
118118 matrix :
119- node-version : [ 20 , 24 ]
120- runs-on : ubuntu-24 .04
119+ node-version : [ 22 , 24, 26 ]
120+ runs-on : ubuntu-26 .04
121121 steps :
122- - uses : actions/checkout@v5
122+ - uses : actions/checkout@v7
123123 with :
124124 persist-credentials : false
125- - uses : actions/setup-node@v5
125+ - uses : actions/setup-node@v7
126126 with :
127127 node-version : ${{ matrix.node-version }}
128128 cache : ' npm'
129- - uses : actions/download-artifact@v5
129+ - uses : actions/download-artifact@v8
130130 with :
131131 name : build
132132 - run : npm ci
@@ -136,21 +136,20 @@ jobs:
136136 needs : build
137137 if : github.event_name == 'pull_request'
138138 name : smoke-node-14
139- runs-on : ubuntu-22 .04
139+ runs-on : ubuntu-26 .04
140140 steps :
141- - uses : actions/checkout@v5
141+ - uses : actions/checkout@v7
142142 with :
143143 persist-credentials : false
144- - uses : actions/setup-node@v5
144+ - uses : actions/setup-node@v7
145145 with :
146146 node-version : 14
147- - uses : actions/download-artifact@v5
147+ - uses : actions/download-artifact@v8
148148 with :
149149 name : build
150150 - run : npm install --no-package-lock
151- # npm 6 (shipped with Node 14) ignores `overrides` and nests chokidar@5 under mocha;
152- # replace it with the CJS-compatible chokidar@4
153- - run : rm -rf node_modules/mocha/node_modules/chokidar && npm install --no-package-lock --no-save --prefix node_modules/mocha chokidar@^4
151+ # mocha@12 is ESM with import attributes, mocha@10 is the last line that supports Node 14
152+ - run : npm install --no-package-lock --no-save mocha@10
154153 - run : npm run test:legacy
155154
156155 smoke-os :
@@ -159,17 +158,17 @@ jobs:
159158 name : smoke-${{ matrix.os }}
160159 strategy :
161160 matrix :
162- os : [ macos-latest , windows-2022, windows-2025 ]
161+ os : [ macos-26 , windows-2022, windows-2025 ]
163162 runs-on : ${{ matrix.os }}
164163 steps :
165- - uses : actions/checkout@v5
164+ - uses : actions/checkout@v7
166165 with :
167166 persist-credentials : false
168- - uses : actions/setup-node@v5
167+ - uses : actions/setup-node@v7
169168 with :
170- node-version : 20
169+ node-version : 26
171170 cache : ' npm'
172- - uses : actions/download-artifact@v5
171+ - uses : actions/download-artifact@v8
173172 with :
174173 name : build
175174 - run : npm ci
@@ -185,13 +184,13 @@ jobs:
185184 needs : build
186185 if : github.event_name == 'pull_request'
187186 name : smoke-alpine-busybox
188- runs-on : ubuntu-24 .04
189- container : node:20 -alpine
187+ runs-on : ubuntu-26 .04
188+ container : node:26 -alpine@sha256:c6ad9e9c1d80f6eb607c26b4b0a132ff7a2344fad1c78ea3baa2a7d4c8de6d94 # 26.13
190189 steps :
191- - uses : actions/checkout@v5
190+ - uses : actions/checkout@v7
192191 with :
193192 persist-credentials : false
194- - uses : actions/download-artifact@v5
193+ - uses : actions/download-artifact@v8
195194 with :
196195 name : build
197196 - name : Verify BusyBox ps
0 commit comments