File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,17 @@ jobs:
135135 strategy :
136136 fail-fast : false
137137 matrix :
138- typescript-version :
139- - ' ^4' # latest 4.X
140- - ' ~4.0' # some 4.0.x
141- - ' ^3' # latest 3.X
142- - ' 3.8.2' # some 3.8.x - lowest reasonable number that works
138+ include :
139+ - # latest 4.X
140+ typescript-version : ' ^4'
141+ - # some 4.0.x
142+ typescript-version : ' ~4.0'
143+ - # latest 3.X
144+ typescript-version : ' ^3'
145+ nodeTypes-version : ' ^16'
146+ - # some 3.8.x - lowest reasonable number that works
147+ typescript-version : ' 3.8.2'
148+ nodeTypes-version : ' ^16'
143149 env :
144150 EXAMPLE_DIR : examples/node-typescript
145151 timeout-minutes : 10
@@ -153,7 +159,10 @@ jobs:
153159 with :
154160 node-version : ${{ env.NODE_ACTIVE_LTS }}
155161 - name : setup project
156- run : npm i --no-save 'typescript@${{ matrix.typescript-version }}'
162+ run : >
163+ npm i --no-save
164+ 'typescript@${{ matrix.typescript-version }}'
165+ '@types/node@${{ matrix.nodeTypes-version || env.NODE_ACTIVE_LTS }}'
157166 working-directory : ${{ env.EXAMPLE_DIR }}
158167 - name : fetch build artifact
159168 # see https://github.com/actions/download-artifact
You can’t perform that action at this time.
0 commit comments