8
8
merge_group :
9
9
jobs :
10
10
e2e :
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-24.04
12
12
timeout-minutes : 60
13
13
steps :
14
14
# Sets an output parameter if this is a release PR
27
27
if : ${{ !steps.release-check.outputs.IS_RELEASE }}
28
28
- uses : actions/setup-node@v4
29
29
with :
30
- node-version : 18
30
+ node-version : 22
31
31
if : ${{ !steps.release-check.outputs.IS_RELEASE }}
32
32
- name : Install dependencies
33
33
run : npm ci
@@ -49,12 +49,13 @@ jobs:
49
49
timeout-minutes : 30
50
50
strategy :
51
51
matrix :
52
- os : [ubuntu-latest, macOS-latest , windows-latest ]
53
- node-version : ['* ']
52
+ os : [ubuntu-24.04, macos-14 , windows-2022 ]
53
+ node-version : ['22 ']
54
54
# Must include the minimum deno version from the `DENO_VERSION_RANGE` constant in `node/bridge.ts`.
55
55
deno-version : ['v1.39.0', 'v1.46.3']
56
56
include :
57
- - os : ubuntu-latest
57
+ - os : ubuntu-24.04
58
+ # Earliest supported version
58
59
node-version : ' 14.16.0'
59
60
deno-version : ' v1.46.3'
60
61
fail-fast : false
63
64
# https://github.com/actions/virtual-environments/issues/268
64
65
- name : Increase open file limit
65
66
run : sudo ulimit -Sn 65536
66
- if : " ${{ matrix.os == 'macOS-latest ' }}"
67
+ if : " ${{ matrix.os == 'macos-14 ' }}"
67
68
- run : git config --global core.symlinks true
68
69
# Sets an output parameter if this is a release PR
69
70
- name : Check for release
@@ -121,56 +122,33 @@ jobs:
121
122
timeout-minutes : 30
122
123
strategy :
123
124
matrix :
124
- os : [ubuntu-latest, macOS-latest , windows-latest ]
125
- node-version : ['* ']
125
+ os : [ubuntu-24.04, macos-14 , windows-2022 ]
126
+ node-version : ['22 ']
126
127
install-command : ['npm ci']
127
128
machine : ['0', '1', '2', '3', '4']
128
129
include :
129
130
# We test on the oldest supported Node.js version, but only with a
130
131
# single combination (Ubuntu)
131
- - os : ubuntu-latest
132
+ - os : ubuntu-24.04
132
133
node-version : ' 14.16.0'
133
134
install-command : npm ci
134
135
machine : ' 0'
135
- - os : ubuntu-latest
136
+ - os : ubuntu-24.04
136
137
node-version : ' 14.16.0'
137
138
install-command : npm ci
138
139
machine : ' 1'
139
- - os : ubuntu-latest
140
+ - os : ubuntu-24.04
140
141
node-version : ' 14.16.0'
141
142
install-command : npm ci
142
143
machine : ' 2'
143
- - os : ubuntu-latest
144
+ - os : ubuntu-24.04
144
145
node-version : ' 14.16.0'
145
146
install-command : npm ci
146
147
machine : ' 3'
147
- - os : ubuntu-latest
148
+ - os : ubuntu-24.04
148
149
node-version : ' 14.16.0'
149
150
install-command : npm ci
150
151
machine : ' 4'
151
- # The buildbot pins Netlify Build's dependencies, like `npm ci`.
152
- # But other consumers do not, like `npm install`.
153
- # So we test both.
154
- - os : ubuntu-latest
155
- node-version : ' *'
156
- install-command : npm install --no-package-lock
157
- machine : ' 0'
158
- - os : ubuntu-latest
159
- node-version : ' *'
160
- install-command : npm install --no-package-lock
161
- machine : ' 1'
162
- - os : ubuntu-latest
163
- node-version : ' *'
164
- install-command : npm install --no-package-lock
165
- machine : ' 2'
166
- - os : ubuntu-latest
167
- node-version : ' *'
168
- install-command : npm install --no-package-lock
169
- machine : ' 3'
170
- - os : ubuntu-latest
171
- node-version : ' *'
172
- install-command : npm install --no-package-lock
173
- machine : ' 4'
174
152
fail-fast : false
175
153
steps :
176
154
# Sets an output parameter if this is a release PR
0 commit comments