File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
+ dist : jammy
2
3
sudo : false
3
4
cache :
4
5
directories :
9
10
- stage : " tests"
10
11
name : " Run eslint"
11
12
script : " npm install -g eslint@4; npm run eslint;"
12
- node_js : " 10 "
13
- - name : " TypeScript 2 .9 generation and compilation tests"
14
- node_js : " 10 "
13
+ node_js : " 18 "
14
+ - name : " TypeScript 4 .9 generation and compilation tests"
15
+ node_js : " 18 "
15
16
script :
16
- - npm install -g typescript@2 .9;
17
+ - npm install -g typescript@4 .9;
17
18
- pushd test/unit/typescript/
18
19
- tsc -p .
19
20
- node -e "require('./api-generation-test').generate()" > generated.ts
20
21
- tsc generated.ts
21
- - name : " Unit tests - Node.js 12 "
22
- node_js : " 12 "
22
+ - name : " Unit tests - Node.js 20 "
23
+ node_js : " 20 "
23
24
script : " npm test"
24
- - name : " Unit tests w/ latest dependencies - Node.js 12 "
25
- node_js : " 12 "
25
+ - name : " Unit tests w/ latest dependencies - Node.js 20 "
26
+ node_js : " 20 "
26
27
script :
27
28
- rm package-lock.json
28
29
- rm -rf node_modules
29
30
- npm install
30
31
- npm test
31
- - name : " Unit tests - Node.js 10 "
32
- node_js : " 10 "
32
+ - name : " Unit tests - Node.js 18 "
33
+ node_js : " 18 "
33
34
script : " npm test"
34
- - name : " Unit tests - Node.js 8 "
35
- node_js : " 8 "
35
+ - name : " Unit tests - Node.js 16 "
36
+ node_js : " 16 "
36
37
script : " npm test"
37
38
- name : " TypeScript (latest) generation and compilation tests"
38
- node_js : " 10 "
39
+ node_js : " 18 "
39
40
script :
40
41
- npm install -g typescript;
41
42
- pushd test/unit/typescript/
You can’t perform that action at this time.
0 commit comments