File tree Expand file tree Collapse file tree 4 files changed +6361
-3839
lines changed Expand file tree Collapse file tree 4 files changed +6361
-3839
lines changed Original file line number Diff line number Diff line change 1212 - name : Install Node.js
1313 uses : actions/setup-node@v2
1414 with :
15- node-version : 14
15+ node-version : 20
1616 cache : npm
1717 - name : npm install
1818 run : npm ci
2929 strategy :
3030 matrix :
3131 node-version :
32- - 10 # minimum supported version
33- - 14 # current LTS
34- - 16 # latest
32+ - 20 # current LTS
33+ - 22 # latest
3534 name : Node.js ${{ matrix.node-version }} test
3635 steps :
3736 - name : Checkout
@@ -53,22 +52,23 @@ jobs:
5352 strategy :
5453 matrix :
5554 ts-version :
56- - ' 3.0'
57- - ' 4.0'
58- - ' latest'
59- name : Typings tests (typescript@${{ matrix.ts-version }})
55+ - { ts: '4.0', types-node: '17' }
56+ - { ts: 'latest', types-node: '20' }
57+ name : Typings tests (typescript@${{ matrix.ts-version.ts }})
6058 steps :
6159 - name : Checkout
6260 uses : actions/checkout@v2
6361 - name : Install Node.js
6462 uses : actions/setup-node@v2
6563 with :
66- node-version : 14
64+ node-version : 20
6765 cache : npm
6866 - name : npm install
6967 run : npm ci
70- - name : Install typescript@${{ matrix.ts-version }}
71- run : npm install typescript@${{ matrix.ts-version }}
68+ - name : Install typescript@${{ matrix.ts-version.ts }}
69+ run : npm install typescript@${{ matrix.ts-version.ts }}
70+ - name : Install @types/node@${{ matrix.ts-version.types-node }}
71+ run : npm install @types/node@${{ matrix.ts-version.types-node }}
7272 - name : Run tests
7373 run : npm run test-typings
7474
8181 - name : Install Node.js
8282 uses : actions/setup-node@v2
8383 with :
84- node-version : 14
84+ node-version : 20
8585 cache : npm
8686 - name : npm install
8787 run : npm ci
Original file line number Diff line number Diff line change 1414 - uses : actions/checkout@v2
1515 - uses : actions/setup-node@v1
1616 with :
17- node-version : 12
17+ node-version : 20
1818 registry-url : https://registry.npmjs.org/
1919 - run : npm ci
2020 - run : npm publish
You can’t perform that action at this time.
0 commit comments