28
28
FORCE_COLOR : 3
29
29
strategy :
30
30
matrix :
31
- node-version : [16.x, 18 .x, 20 .x]
31
+ node-version : [16.x, 20 .x, 22 .x]
32
32
steps :
33
33
- uses : actions/checkout@v4
34
34
- name : Use Node.js ${{ matrix.node-version }}
74
74
- uses : actions/download-artifact@v4
75
75
with :
76
76
name : build
77
- - run : bun test ./test/smoke/bun.test.js
77
+ - run : |
78
+ bun test ./test/smoke/bun.test.js
79
+ bun ./test/smoke/ts.test.ts
78
80
timeout-minutes: 1
79
81
env:
80
82
FORCE_COLOR: 3
91
93
- uses : actions/download-artifact@v4
92
94
with :
93
95
name : build
94
- - run : deno test ./test/smoke/deno.test.js --allow-read --allow-sys --allow-env --allow-run
96
+ - run : deno test --allow-read --allow-sys --allow-env --allow-run ./test/smoke/deno.test.js
95
97
timeout-minutes : 1
96
98
env :
97
99
FORCE_COLOR : 3
@@ -116,3 +118,31 @@ jobs:
116
118
- name : mjs smoke test
117
119
if : matrix.node-version != '12'
118
120
run : npm run test:smoke:mjs
121
+
122
+ smoke-ts :
123
+ runs-on : ubuntu-latest
124
+ needs : build
125
+ strategy :
126
+ matrix :
127
+ ts : [4, 5]
128
+ steps :
129
+ - uses : actions/checkout@v4
130
+ - name : Use Node.js 20.x
131
+ uses : actions/setup-node@v4
132
+ with :
133
+ node-version : 20.x
134
+ - name : Install deps
135
+ run : npm ci
136
+ - name : Install TypeScript ${{ matrix.ts }}
137
+ run : |
138
+ npm i typescript@${{ matrix.ts }}
139
+ tsc -v
140
+ - uses : actions/download-artifact@v4
141
+ with :
142
+ name : build
143
+ - name : tsc
144
+ run : npm run test:smoke:tsc
145
+ - name : tsx
146
+ run : npm run test:smoke:tsx
147
+ - name : ts-node
148
+ run : npm run test:smoke:ts-node
0 commit comments