@@ -11,20 +11,20 @@ jobs:
11
11
matrix :
12
12
node-version : [20.6.0]
13
13
services :
14
- storage-ftp :
15
- image : garethflowers/ftp-server:0.7.0
16
- env :
17
- FTP_USER : user
18
- FTP_PASS : ' 123'
19
- ports :
20
- - " 20-21:20-21"
21
- - " 40000-40009:40000-40009"
22
- storage-sftp :
23
- image : atmoz/sftp:alpine
24
- env :
25
- SFTP_USERS : user:123:::upload
26
- ports :
27
- - " 2222:22"
14
+ storage-ftp :
15
+ image : garethflowers/ftp-server:0.7.0
16
+ env :
17
+ FTP_USER : user
18
+ FTP_PASS : ' 123'
19
+ ports :
20
+ - ' 20-21:20-21'
21
+ - ' 40000-40009:40000-40009'
22
+ storage-sftp :
23
+ image : atmoz/sftp:alpine
24
+ env :
25
+ SFTP_USERS : user:123:::upload
26
+ ports :
27
+ - ' 2222:22'
28
28
steps :
29
29
- uses : actions/checkout@v2
30
30
- name : Use Node.js ${{ matrix.node-version }}
92
92
strategy :
93
93
matrix :
94
94
node-version : [20.6.0]
95
- postgres-version : [ 14 ]
95
+ postgres-version : [14 ]
96
96
services :
97
97
postgres :
98
98
image : postgres:${{ matrix.postgres-version }}
@@ -101,7 +101,7 @@ jobs:
101
101
POSTGRES_PASSWORD : ' '
102
102
POSTGRES_HOST_AUTH_METHOD : trust
103
103
ports :
104
- - " 5432:5432"
104
+ - ' 5432:5432'
105
105
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
106
106
steps :
107
107
- uses : actions/checkout@v2
@@ -112,7 +112,7 @@ jobs:
112
112
- name : Cache node_modules
113
113
uses : actions/cache@v1
114
114
with :
115
- path : " **/node_modules"
115
+ path : ' **/node_modules'
116
116
key : ${{ runner.os }}-postgres-node_modules-${{ hashFiles('**/package-lock.json') }}
117
117
- name : npm install
118
118
run : npm ci
@@ -131,16 +131,16 @@ jobs:
131
131
strategy :
132
132
matrix :
133
133
node-version : [20.6.0]
134
- mysql-version : [ 8.0 ]
134
+ mysql-version : [8.0]
135
135
services :
136
136
mysql :
137
- image : " mysql:${{ matrix.mysql-version }}"
137
+ image : ' mysql:${{ matrix.mysql-version }}'
138
138
options : >-
139
139
--health-cmd "mysqladmin ping --silent"
140
140
-e MYSQL_ALLOW_EMPTY_PASSWORD=yes
141
141
-e MYSQL_DATABASE=default
142
142
ports :
143
- - " 3306:3306"
143
+ - ' 3306:3306'
144
144
steps :
145
145
- uses : actions/checkout@v2
146
146
- name : Use Node.js ${{ matrix.node-version }}
@@ -150,7 +150,7 @@ jobs:
150
150
- name : Cache node_modules
151
151
uses : actions/cache@v1
152
152
with :
153
- path : " **/node_modules"
153
+ path : ' **/node_modules'
154
154
key : ${{ runner.os }}-mysql-node_modules-${{ hashFiles('**/package-lock.json') }}
155
155
- name : npm install
156
156
run : npm ci
@@ -178,7 +178,7 @@ jobs:
178
178
- name : Cache node_modules
179
179
uses : actions/cache@v1
180
180
with :
181
- path : " **/node_modules"
181
+ path : ' **/node_modules'
182
182
key : ${{ runner.os }}-sqlite-node_modules-${{ hashFiles('**/package-lock.json') }}
183
183
- name : npm install
184
184
run : npm ci
@@ -197,7 +197,7 @@ jobs:
197
197
strategy :
198
198
matrix :
199
199
node-version : [20.6.0]
200
- mongo-version : [ 4.0 ]
200
+ mongo-version : [4.0]
201
201
services :
202
202
# this is used for the simple-auth test
203
203
mongo :
@@ -224,7 +224,7 @@ jobs:
224
224
- name : Cache node_modules
225
225
uses : actions/cache@v1
226
226
with :
227
- path : " **/node_modules"
227
+ path : ' **/node_modules'
228
228
key : ${{ runner.os }}-mongo-node_modules-${{ hashFiles('**/package-lock.json') }}
229
229
- name : npm install
230
230
run : npm ci
0 commit comments