1
1
name : ci
2
2
on :
3
3
push :
4
- branches : [ release, alpha, beta ]
4
+ branches : [ release* , alpha, beta ]
5
5
pull_request :
6
- branches : [ release, alpha, beta ]
6
+ branches : [ release* , alpha, beta ]
7
7
env :
8
- NODE_VERSION : 18.12.1
8
+ NODE_VERSION : 19.3.0
9
9
PARSE_SERVER_TEST_TIMEOUT : 20000
10
10
jobs :
11
11
check-code-analysis :
@@ -137,32 +137,32 @@ jobs:
137
137
- name : Check NPM lock file version
138
138
uses : mansona/npm-lockfile-version@v1
139
139
with :
140
- version : 1
140
+ version : 2
141
141
check-mongo :
142
142
strategy :
143
143
matrix :
144
144
include :
145
145
- name : MongoDB 4.2, ReplicaSet
146
146
MONGODB_VERSION : 4.2.19
147
147
MONGODB_TOPOLOGY : replicaset
148
- NODE_VERSION : 18.12.1
148
+ NODE_VERSION : 19.3.0
149
149
- name : MongoDB 4.4, ReplicaSet
150
150
MONGODB_VERSION : 4.4.13
151
151
MONGODB_TOPOLOGY : replicaset
152
- NODE_VERSION : 18.12.1
152
+ NODE_VERSION : 19.3.0
153
153
- name : MongoDB 5, ReplicaSet
154
154
MONGODB_VERSION : 5.3.2
155
155
MONGODB_TOPOLOGY : replicaset
156
- NODE_VERSION : 18.12.1
156
+ NODE_VERSION : 19.3.0
157
157
- name : MongoDB 6, ReplicaSet
158
158
MONGODB_VERSION : 6.0.2
159
159
MONGODB_TOPOLOGY : replicaset
160
- NODE_VERSION : 18.12.1
160
+ NODE_VERSION : 19.3.0
161
161
- name : Redis Cache
162
162
PARSE_SERVER_TEST_CACHE : redis
163
163
MONGODB_VERSION : 4.4.13
164
164
MONGODB_TOPOLOGY : standalone
165
- NODE_VERSION : 18.12.1
165
+ NODE_VERSION : 19.3.0
166
166
- name : Node 14
167
167
MONGODB_VERSION : 4.4.13
168
168
MONGODB_TOPOLOGY : standalone
@@ -171,6 +171,10 @@ jobs:
171
171
MONGODB_VERSION : 4.4.13
172
172
MONGODB_TOPOLOGY : standalone
173
173
NODE_VERSION : 16.18.1
174
+ - name : Node 18
175
+ MONGODB_VERSION : 4.4.13
176
+ MONGODB_TOPOLOGY : standalone
177
+ NODE_VERSION : 18.12.1
174
178
fail-fast : false
175
179
name : ${{ matrix.name }}
176
180
timeout-minutes : 15
@@ -189,6 +193,9 @@ jobs:
189
193
steps :
190
194
- name : Fix usage of insecure GitHub protocol
191
195
run : sudo git config --system url."https://github".insteadOf "git://github"
196
+ - name : Fix git protocol for Node 14
197
+ if : ${{ startsWith(matrix.NODE_VERSION, '14.') }}
198
+ run : sudo git config --system url."https://github".insteadOf "ssh://git@github"
192
199
- uses : actions/checkout@v2
193
200
- name : Use Node.js ${{ matrix.NODE_VERSION }}
194
201
uses : actions/setup-node@v2
@@ -214,28 +221,28 @@ jobs:
214
221
include :
215
222
- name : PostgreSQL 11, PostGIS 3.0
216
223
POSTGRES_IMAGE : postgis/postgis:11-3.0
217
- NODE_VERSION : 18.12.1
224
+ NODE_VERSION : 19.3.0
218
225
- name : PostgreSQL 11, PostGIS 3.1
219
226
POSTGRES_IMAGE : postgis/postgis:11-3.1
220
- NODE_VERSION : 18.12.1
227
+ NODE_VERSION : 19.3.0
221
228
- name : PostgreSQL 11, PostGIS 3.2
222
229
POSTGRES_IMAGE : postgis/postgis:11-3.2
223
- NODE_VERSION : 18.12.1
230
+ NODE_VERSION : 19.3.0
224
231
- name : PostgreSQL 11, PostGIS 3.3
225
232
POSTGRES_IMAGE : postgis/postgis:11-3.3
226
- NODE_VERSION : 18.12.1
233
+ NODE_VERSION : 19.3.0
227
234
- name : PostgreSQL 12, PostGIS 3.3
228
235
POSTGRES_IMAGE : postgis/postgis:12-3.3
229
- NODE_VERSION : 18.12.1
236
+ NODE_VERSION : 19.3.0
230
237
- name : PostgreSQL 13, PostGIS 3.3
231
238
POSTGRES_IMAGE : postgis/postgis:13-3.3
232
- NODE_VERSION : 18.12.1
239
+ NODE_VERSION : 19.3.0
233
240
- name : PostgreSQL 14, PostGIS 3.3
234
241
POSTGRES_IMAGE : postgis/postgis:14-3.3
235
- NODE_VERSION : 18.12.1
242
+ NODE_VERSION : 19.3.0
236
243
- name : PostgreSQL 15, PostGIS 3.3
237
244
POSTGRES_IMAGE : postgis/postgis:15-3.3
238
- NODE_VERSION : 18.12.1
245
+ NODE_VERSION : 19.3.0
239
246
fail-fast : false
240
247
name : ${{ matrix.name }}
241
248
timeout-minutes : 15
0 commit comments