File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 38
38
path : ./package.tgz
39
39
40
40
test-types :
41
- name : Test Types with TypeScript ${{ matrix.ts }}
41
+ name : Test Types with TypeScript ${{ matrix.ts }} and React ${{ matrix.react.version }}
42
42
43
43
needs : [build]
44
44
runs-on : ubuntu-latest
80
80
- name : Install deps
81
81
run : yarn install
82
82
83
+ - name : Install React ${{ matrix.react.version }} and React-DOM ${{ matrix.react.react-dom.version }}
84
+ run : yarn add -D react@${{ matrix.react.version }} react-dom@${{ matrix.react.react-dom.version }} @types/react@${{ matrix.react.types }} @types/react-dom@${{ matrix.react.react-dom.types }}
85
+
83
86
- name : Install TypeScript ${{ matrix.ts }}
84
87
run : yarn add typescript@${{ matrix.ts }}
85
88
@@ -243,7 +246,7 @@ jobs:
243
246
run : yarn build
244
247
245
248
test-dist :
246
- name : Run local tests against build artifact
249
+ name : Run local tests against build artifact (React ${{ matrix.react.version }})
247
250
needs : [build]
248
251
runs-on : ubuntu-latest
249
252
strategy :
@@ -286,6 +289,9 @@ jobs:
286
289
- name : Check folder contents
287
290
run : ls -lah
288
291
292
+ - name : Install React ${{ matrix.react.version }} and React-DOM ${{ matrix.react.react-dom.version }}
293
+ run : yarn add -D react@${{ matrix.react.version }} react-dom@${{ matrix.react.react-dom.version }} @types/react@${{ matrix.react.types }} @types/react-dom@${{ matrix.react.react-dom.types }}
294
+
289
295
- name : Install build artifact
290
296
run : yarn add ./package.tgz
291
297
You can’t perform that action at this time.
0 commit comments