16
16
strategy :
17
17
fail-fast : false
18
18
matrix :
19
- node-version : [18.x] # ["node:16", "node:18", "node:20", "node:22" ]
19
+ node-version : [16.x, 18.x, 20.x] # , 22.x ]
20
20
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
21
22
22
steps :
35
35
strategy :
36
36
fail-fast : false
37
37
matrix :
38
- node-container : ["node:18"] # ["node: 16", "node:18", "node:20", "node:22"]
38
+ node-container : ["node:16", "node:18", "node:20"] # , "node:22"]
39
39
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
40
40
41
41
container : ${{ matrix.node-container }}
46
46
steps :
47
47
- uses : actions/checkout@v4
48
48
- run : npm i
49
+ - run : chown -R 1001:127 /github/home/.npm # This fix is needed for running CLI tests
49
50
- run : cp .github/workflows/test/mongodb.ormconfig.json ormconfig.json
50
51
- run : npm test
51
52
55
56
strategy :
56
57
fail-fast : false
57
58
matrix :
58
- node-container : ["node:18"] # ["node: 16", "node:18", "node:20", "node:22"]
59
+ node-container : ["node:16", "node:18", "node:20"] # , "node:22"]
59
60
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
60
61
61
62
container : ${{ matrix.node-container }}
69
70
steps :
70
71
- uses : actions/checkout@v4
71
72
- run : npm i
73
+ - run : chown -R 1001:127 /github/home/.npm # This fix is needed for running CLI tests
72
74
- run : cp .github/workflows/test/mssql.ormconfig.json ormconfig.json
73
75
- run : npm test
74
76
78
80
strategy :
79
81
fail-fast : false
80
82
matrix :
81
- node-container : ["node:18"] # ["node: 16", "node:18", "node:20", "node:22"]
83
+ node-container : ["node:16", "node:18", "node:20"] # , "node:22"]
82
84
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
83
85
84
86
container : ${{ matrix.node-container }}
@@ -101,6 +103,7 @@ jobs:
101
103
steps :
102
104
- uses : actions/checkout@v4
103
105
- run : npm i
106
+ - run : chown -R 1001:127 /github/home/.npm # This fix is needed for running CLI tests
104
107
- run : cp .github/workflows/test/mysql-mariadb.ormconfig.json ormconfig.json
105
108
- run : npm test
106
109
@@ -110,7 +113,7 @@ jobs:
110
113
strategy :
111
114
fail-fast : false
112
115
matrix :
113
- node-version : [18.x] # ["node:16", "node:18", "node:20", "node:22" ]
116
+ node-version : [16.x, 18.x, 20.x] # , 22.x ]
114
117
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
115
118
116
119
steps :
@@ -129,14 +132,16 @@ jobs:
129
132
strategy :
130
133
fail-fast : false
131
134
matrix :
132
- node-container : ["node:18"] # ["node: 16", "node:18", "node:20", "node:22"]
135
+ node-container : ["node:16", "node:18", "node:20"] # , "node:22"]
133
136
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
134
137
135
138
container : ${{ matrix.node-container }}
136
139
137
140
steps :
138
141
- uses : actions/checkout@v4
139
142
- run : npm i
143
+ - run : chown -R 1001:127 /github/home/.npm # This fix is needed for running CLI tests
144
+ - run : chown -R 1001:127 ./temp # This fix is needed for fixing permission error on Node 16
140
145
- run : cp .github/workflows/test/better-sqlite3.ormconfig.json ormconfig.json
141
146
- run : npm test
142
147
@@ -146,14 +151,16 @@ jobs:
146
151
strategy :
147
152
fail-fast : false
148
153
matrix :
149
- node-container : ["node:18"] # ["node: 16", "node:18", "node:20", "node:22"]
154
+ node-container : ["node:16", "node:18", "node:20"] # , "node:22"]
150
155
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
151
156
152
157
container : ${{ matrix.node-container }}
153
158
154
159
steps :
155
160
- uses : actions/checkout@v4
156
161
- run : npm i
162
+ - run : chown -R 1001:127 /github/home/.npm # This fix is needed for running CLI tests
163
+ - run : chown -R 1001:127 ./temp # This fix is needed for fixing permission error on Node 16
157
164
- run : cp .github/workflows/test/sqlite.ormconfig.json ormconfig.json
158
165
- run : npm test
159
166
@@ -163,14 +170,15 @@ jobs:
163
170
strategy :
164
171
fail-fast : false
165
172
matrix :
166
- node-container : ["node:18"] # ["node: 16", "node:18", "node:20", "node:22"]
173
+ node-container : ["node:16", "node:18", "node:20"] # , "node:22"]
167
174
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
168
175
169
176
container : ${{ matrix.node-container }}
170
177
171
178
steps :
172
179
- uses : actions/checkout@v4
173
180
- run : npm i
181
+ - run : chown -R 1001:127 /github/home/.npm # This fix is needed for running CLI tests
174
182
- run : cp .github/workflows/test/sqljs.ormconfig.json ormconfig.json
175
183
- run : npm test
176
184
@@ -180,7 +188,7 @@ jobs:
180
188
strategy :
181
189
fail-fast : false
182
190
matrix :
183
- node-container : ["node:18"] # ["node: 16", "node:18", "node:20", "node:22"]
191
+ node-container : ["node:16", "node:18", "node:20"] # , "node:22"]
184
192
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
185
193
186
194
container : ${{ matrix.node-container }}
@@ -200,5 +208,6 @@ jobs:
200
208
steps :
201
209
- uses : actions/checkout@v4
202
210
- run : npm i
211
+ - run : chown -R 1001:127 /github/home/.npm # This fix is needed for running CLI tests
203
212
- run : cp .github/workflows/test/postgres.ormconfig.json ormconfig.json
204
213
- run : npm test
0 commit comments