File tree 5 files changed +876
-3264
lines changed
5 files changed +876
-3264
lines changed Original file line number Diff line number Diff line change 8
8
9
9
strategy :
10
10
matrix :
11
- # the Node.js versions to build on
12
11
node-version : [20.16.x, 22.5.x]
13
12
14
13
steps :
15
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
16
15
17
16
- name : Use Node.js ${{ matrix.node-version }}
18
- uses : actions/setup-node@v2
17
+ uses : actions/setup-node@v3
19
18
with :
20
19
node-version : ${{ matrix.node-version }}
21
20
22
21
- name : Install dependencies
23
22
run : npm install
24
- env :
25
- CI : true
26
23
27
24
- name : Lint the project
28
25
run : npm run lint
29
- env :
30
- CI : true
31
26
32
27
- name : Build the project
33
28
run : npm run build
34
- env :
35
- CI : true
Original file line number Diff line number Diff line change 8
8
build :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v3
12
12
# Setup .npmrc file to publish to npm
13
- - uses : actions/setup-node@v2
13
+ - uses : actions/setup-node@v3
14
14
with :
15
- node-version : " 16.x"
15
+ node-version : " 20. 16.x"
16
16
registry-url : " https://registry.npmjs.org"
17
17
- run : npm ci
18
18
- run : npm publish
You can’t perform that action at this time.
0 commit comments