File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,18 +2,18 @@ name: Test Package
22
33on : push
44
5- env :
6- NODE_VERSION : 16
7-
85jobs :
96 test :
107 runs-on : ubuntu-22.04
118 timeout-minutes : 15
9+ strategy :
10+ matrix :
11+ node_version : [16, 18, 20]
1212 steps :
13- - uses : actions/checkout@v3
14- - uses : aboutbits/github-actions-node/setup-and-install@v1
13+ - uses : actions/checkout@v4
14+ - uses : aboutbits/github-actions-node/setup-and-install@v2
1515 with :
16- node-version : ${{ env.NODE_VERSION }}
16+ node-version : ${{ matrix.node_version }}
1717 - run : npm run lint
1818 - run : npm run typecheck
1919 - run : npm run test
Original file line number Diff line number Diff line change 66 - ' v*'
77
88env :
9- NODE_VERSION : 16
9+ NODE_VERSION : 20
1010
1111jobs :
1212 build :
1313 runs-on : ubuntu-22.04
1414 timeout-minutes : 5
1515 steps :
16- - uses : actions/checkout@v3
17- - uses : actions/github-script@v6
16+ - uses : actions/checkout@v4
17+ - uses : actions/github-script@v7
1818 with :
1919 script : |
2020 github.rest.repos.createRelease({
2323 tag_name: '${{ github.ref }}',
2424 name: 'Release ${{ github.ref_name }}'
2525 })
26- - uses : aboutbits/github-actions-node/setup-and-install@v1
26+ - uses : aboutbits/github-actions-node/setup-and-install@v2
2727 with :
2828 node-version : ${{ env.NODE_VERSION }}
2929 registry-url : ' https://registry.npmjs.org'
Original file line number Diff line number Diff line change 1414 "main" : " dist/index.js" ,
1515 "typings" : " dist/index.d.ts" ,
1616 "engines" : {
17- "npm" : " ^ 8" ,
18- "node" : " ^ 16"
17+ "npm" : " >= 8" ,
18+ "node" : " >= 16"
1919 },
2020 "scripts" : {
2121 "build" : " tsc" ,
You can’t perform that action at this time.
0 commit comments