File tree 3 files changed +12
-12
lines changed
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,18 @@ name: Test Package
2
2
3
3
on : push
4
4
5
- env :
6
- NODE_VERSION : 16
7
-
8
5
jobs :
9
6
test :
10
7
runs-on : ubuntu-22.04
11
8
timeout-minutes : 15
9
+ strategy :
10
+ matrix :
11
+ node_version : [16, 18, 20]
12
12
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
15
15
with :
16
- node-version : ${{ env.NODE_VERSION }}
16
+ node-version : ${{ matrix.node_version }}
17
17
- run : npm run lint
18
18
- run : npm run typecheck
19
19
- run : npm run test
Original file line number Diff line number Diff line change 6
6
- ' v*'
7
7
8
8
env :
9
- NODE_VERSION : 16
9
+ NODE_VERSION : 20
10
10
11
11
jobs :
12
12
build :
13
13
runs-on : ubuntu-22.04
14
14
timeout-minutes : 5
15
15
steps :
16
- - uses : actions/checkout@v3
17
- - uses : actions/github-script@v6
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/github-script@v7
18
18
with :
19
19
script : |
20
20
github.rest.repos.createRelease({
23
23
tag_name: '${{ github.ref }}',
24
24
name: 'Release ${{ github.ref_name }}'
25
25
})
26
- - uses : aboutbits/github-actions-node/setup-and-install@v1
26
+ - uses : aboutbits/github-actions-node/setup-and-install@v2
27
27
with :
28
28
node-version : ${{ env.NODE_VERSION }}
29
29
registry-url : ' https://registry.npmjs.org'
Original file line number Diff line number Diff line change 14
14
"main" : " dist/index.js" ,
15
15
"typings" : " dist/index.d.ts" ,
16
16
"engines" : {
17
- "npm" : " ^ 8" ,
18
- "node" : " ^ 16"
17
+ "npm" : " >= 8" ,
18
+ "node" : " >= 16"
19
19
},
20
20
"scripts" : {
21
21
"build" : " tsc" ,
You can’t perform that action at this time.
0 commit comments