Skip to content

Commit b29a862

Browse files
committed
add node version to postgres CI
1 parent bebdadf commit b29a862

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,16 @@ jobs:
170170
include:
171171
- name: PostgreSQL 11, PostGIS 3.0
172172
POSTGRES_IMAGE: postgis/postgis:11-3.0
173+
NODE_VERSION: 14.17.0
173174
- name: PostgreSQL 11, PostGIS 3.1
174175
POSTGRES_IMAGE: postgis/postgis:11-3.1
176+
NODE_VERSION: 14.17.0
175177
- name: PostgreSQL 12, PostGIS 3.1
176178
POSTGRES_IMAGE: postgis/postgis:12-3.1
179+
NODE_VERSION: 14.17.0
177180
- name: PostgreSQL 13, PostGIS 3.1
178181
POSTGRES_IMAGE: postgis/postgis:13-3.1
182+
NODE_VERSION: 14.17.0
179183
fail-fast: false
180184
name: ${{ matrix.name }}
181185
timeout-minutes: 15
@@ -199,12 +203,13 @@ jobs:
199203
env:
200204
PARSE_SERVER_TEST_DB: postgres
201205
PARSE_SERVER_TEST_DATABASE_URI: postgres://postgres:postgres@localhost:5432/parse_server_postgres_adapter_test_database
206+
NODE_VERSION: ${{ matrix.NODE_VERSION }}
202207
steps:
203208
- uses: actions/checkout@v2
204-
- name: Use Node.js 10
209+
- name: Use Node.js ${{ matrix.NODE_VERSION }}
205210
uses: actions/setup-node@v1
206211
with:
207-
node-version: 12
212+
node-version: ${{ matrix.NODE_VERSION }}
208213
- name: Cache Node.js modules
209214
uses: actions/cache@v2
210215
with:

0 commit comments

Comments
 (0)