88 paths-ignore :
99 - ' **/**.md'
1010env :
11- NODE_VERSION : 19.3.0
11+ NODE_VERSION : 20.11.1
1212 PARSE_SERVER_TEST_TIMEOUT : 20000
1313jobs :
1414 check-code-analysis :
2424 language : ['javascript']
2525 steps :
2626 - name : Checkout repository
27- uses : actions/checkout@v3
27+ uses : actions/checkout@v4
2828 - name : Initialize CodeQL
2929 uses : github/codeql-action/init@v2
3030 with :
@@ -37,13 +37,13 @@ jobs:
3737 timeout-minutes : 15
3838 runs-on : ubuntu-latest
3939 steps :
40- - uses : actions/checkout@v2
40+ - uses : actions/checkout@v4
4141 - name : Use Node.js ${{ matrix.NODE_VERSION }}
42- uses : actions/setup-node@v2
42+ uses : actions/setup-node@v4
4343 with :
4444 node-version : ${{ matrix.node-version }}
4545 - name : Cache Node.js modules
46- uses : actions/cache@v2
46+ uses : actions/cache@v4
4747 with :
4848 path : ~/.npm
4949 key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -58,13 +58,13 @@ jobs:
5858 timeout-minutes : 15
5959 runs-on : ubuntu-latest
6060 steps :
61- - uses : actions/checkout@v2
61+ - uses : actions/checkout@v4
6262 - name : Use Node.js ${{ matrix.NODE_VERSION }}
63- uses : actions/setup-node@v2
63+ uses : actions/setup-node@v4
6464 with :
6565 node-version : ${{ matrix.node-version }}
6666 - name : Cache Node.js modules
67- uses : actions/cache@v2
67+ uses : actions/cache@v4
6868 with :
6969 path : ~/.npm
7070 key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -78,13 +78,13 @@ jobs:
7878 timeout-minutes : 5
7979 runs-on : ubuntu-latest
8080 steps :
81- - uses : actions/checkout@v2
81+ - uses : actions/checkout@v4
8282 - name : Use Node.js ${{ matrix.NODE_VERSION }}
83- uses : actions/setup-node@v2
83+ uses : actions/setup-node@v4
8484 with :
8585 node-version : ${{ matrix.node-version }}
8686 - name : Cache Node.js modules
87- uses : actions/cache@v2
87+ uses : actions/cache@v4
8888 with :
8989 path : ~/.npm
9090 key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -99,13 +99,13 @@ jobs:
9999 timeout-minutes : 5
100100 runs-on : ubuntu-latest
101101 steps :
102- - uses : actions/checkout@v2
102+ - uses : actions/checkout@v4
103103 - name : Use Node.js ${{ matrix.NODE_VERSION }}
104- uses : actions/setup-node@v2
104+ uses : actions/setup-node@v4
105105 with :
106106 node-version : ${{ matrix.node-version }}
107107 - name : Cache Node.js modules
108- uses : actions/cache@v2
108+ uses : actions/cache@v4
109109 with :
110110 path : ~/.npm
111111 key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -117,26 +117,26 @@ jobs:
117117 check-docker :
118118 name : Docker Build
119119 timeout-minutes : 15
120- runs-on : ubuntu-latest
120+ runs-on : ubuntu-20.04
121121 steps :
122122 - name : Checkout repository
123- uses : actions/checkout@v2
123+ uses : actions/checkout@v4
124124 - name : Set up QEMU
125125 id : qemu
126- uses : docker/setup-qemu-action@v1
126+ uses : docker/setup-qemu-action@v2
127127 - name : Set up Docker Buildx
128- uses : docker/setup-buildx-action@v1
128+ uses : docker/setup-buildx-action@v2
129129 - name : Build docker image
130- uses : docker/build-push-action@v2
130+ uses : docker/build-push-action@v3
131131 with :
132132 context : .
133- platforms : linux/amd64
133+ platforms : linux/amd64, linux/arm64/v8
134134 check-lock-file-version :
135135 name : NPM Lock File Version
136136 timeout-minutes : 5
137137 runs-on : ubuntu-latest
138138 steps :
139- - uses : actions/checkout@v2
139+ - uses : actions/checkout@v4
140140 - name : Check NPM lock file version
141141 uses : mansona/npm-lockfile-version@v1
142142 with :
@@ -148,40 +148,32 @@ jobs:
148148 - name : MongoDB 4.2, ReplicaSet
149149 MONGODB_VERSION : 4.2.19
150150 MONGODB_TOPOLOGY : replset
151- NODE_VERSION : 19.3.0
151+ NODE_VERSION : 20.11.1
152152 - name : MongoDB 4.4, ReplicaSet
153153 MONGODB_VERSION : 4.4.13
154154 MONGODB_TOPOLOGY : replset
155- NODE_VERSION : 19.3.0
155+ NODE_VERSION : 20.11.1
156156 - name : MongoDB 5, ReplicaSet
157157 MONGODB_VERSION : 5.3.2
158158 MONGODB_TOPOLOGY : replset
159- NODE_VERSION : 19.3.0
159+ NODE_VERSION : 20.11.1
160160 - name : MongoDB 6, ReplicaSet
161161 MONGODB_VERSION : 6.0.2
162162 MONGODB_TOPOLOGY : replset
163- NODE_VERSION : 19.3.0
163+ NODE_VERSION : 20.11.1
164164 - name : MongoDB 7, ReplicaSet
165165 MONGODB_VERSION : 7.0.1
166166 MONGODB_TOPOLOGY : replset
167- NODE_VERSION : 19.3.0
167+ NODE_VERSION : 20.11.1
168168 - name : Redis Cache
169169 PARSE_SERVER_TEST_CACHE : redis
170170 MONGODB_VERSION : 4.4.13
171171 MONGODB_TOPOLOGY : standalone
172- NODE_VERSION : 19.3.0
173- - name : Node 14
174- MONGODB_VERSION : 4.4.13
175- MONGODB_TOPOLOGY : standalone
176- NODE_VERSION : 14.21.1
177- - name : Node 16
178- MONGODB_VERSION : 4.4.13
179- MONGODB_TOPOLOGY : standalone
180- NODE_VERSION : 16.18.1
172+ NODE_VERSION : 20.11.1
181173 - name : Node 18
182174 MONGODB_VERSION : 4.4.13
183175 MONGODB_TOPOLOGY : standalone
184- NODE_VERSION : 18.12 .1
176+ NODE_VERSION : 18.19 .1
185177 fail-fast : false
186178 name : ${{ matrix.name }}
187179 timeout-minutes : 15
@@ -200,16 +192,13 @@ jobs:
200192 steps :
201193 - name : Fix usage of insecure GitHub protocol
202194 run : sudo git config --system url."https://github".insteadOf "git://github"
203- - name : Fix git protocol for Node 14
204- if : ${{ startsWith(matrix.NODE_VERSION, '14.') }}
205- run : sudo git config --system url."https://github".insteadOf "ssh://git@github"
206- - uses : actions/checkout@v2
195+ - uses : actions/checkout@v4
207196 - name : Use Node.js ${{ matrix.NODE_VERSION }}
208- uses : actions/setup-node@v2
197+ uses : actions/setup-node@v4
209198 with :
210199 node-version : ${{ matrix.NODE_VERSION }}
211200 - name : Cache Node.js modules
212- uses : actions/cache@v2
201+ uses : actions/cache@v4
213202 with :
214203 path : ~/.npm
215204 key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -226,30 +215,27 @@ jobs:
226215 strategy :
227216 matrix :
228217 include :
229- - name : PostgreSQL 11, PostGIS 3.0
230- POSTGRES_IMAGE : postgis/postgis:11-3.0
231- NODE_VERSION : 19.3.0
232- - name : PostgreSQL 11, PostGIS 3.1
233- POSTGRES_IMAGE : postgis/postgis:11-3.1
234- NODE_VERSION : 19.3.0
235- - name : PostgreSQL 11, PostGIS 3.2
236- POSTGRES_IMAGE : postgis/postgis:11-3.2
237- NODE_VERSION : 19.3.0
238- - name : PostgreSQL 11, PostGIS 3.3
239- POSTGRES_IMAGE : postgis/postgis:11-3.3
240- NODE_VERSION : 19.3.0
241- - name : PostgreSQL 12, PostGIS 3.3
242- POSTGRES_IMAGE : postgis/postgis:12-3.3
243- NODE_VERSION : 19.3.0
218+ - name : PostgreSQL 13, PostGIS 3.1
219+ POSTGRES_IMAGE : postgis/postgis:13-3.1
220+ NODE_VERSION : 20.11.1
221+ - name : PostgreSQL 13, PostGIS 3.2
222+ POSTGRES_IMAGE : postgis/postgis:13-3.2
223+ NODE_VERSION : 20.11.1
244224 - name : PostgreSQL 13, PostGIS 3.3
245225 POSTGRES_IMAGE : postgis/postgis:13-3.3
246- NODE_VERSION : 19.3.0
247- - name : PostgreSQL 14, PostGIS 3.3
248- POSTGRES_IMAGE : postgis/postgis:14-3.3
249- NODE_VERSION : 19.3.0
250- - name : PostgreSQL 15, PostGIS 3.3
251- POSTGRES_IMAGE : postgis/postgis:15-3.3
252- NODE_VERSION : 19.3.0
226+ NODE_VERSION : 20.11.1
227+ - name : PostgreSQL 13, PostGIS 3.4
228+ POSTGRES_IMAGE : postgis/postgis:13-3.4
229+ NODE_VERSION : 20.11.1
230+ - name : PostgreSQL 14, PostGIS 3.4
231+ POSTGRES_IMAGE : postgis/postgis:14-3.4
232+ NODE_VERSION : 20.11.1
233+ - name : PostgreSQL 15, PostGIS 3.4
234+ POSTGRES_IMAGE : postgis/postgis:15-3.4
235+ NODE_VERSION : 20.11.1
236+ - name : PostgreSQL 16, PostGIS 3.4
237+ POSTGRES_IMAGE : postgis/postgis:15-3.4
238+ NODE_VERSION : 20.11.1
253239 fail-fast : false
254240 name : ${{ matrix.name }}
255241 timeout-minutes : 15
@@ -275,13 +261,13 @@ jobs:
275261 PARSE_SERVER_TEST_DATABASE_URI : postgres://postgres:postgres@localhost:5432/parse_server_postgres_adapter_test_database
276262 NODE_VERSION : ${{ matrix.NODE_VERSION }}
277263 steps :
278- - uses : actions/checkout@v2
264+ - uses : actions/checkout@v4
279265 - name : Use Node.js ${{ matrix.NODE_VERSION }}
280- uses : actions/setup-node@v2
266+ uses : actions/setup-node@v4
281267 with :
282268 node-version : ${{ matrix.NODE_VERSION }}
283269 - name : Cache Node.js modules
284- uses : actions/cache@v2
270+ uses : actions/cache@v4
285271 with :
286272 path : ~/.npm
287273 key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
0 commit comments