File tree Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change 11name : ci
22
3- on : [push]
3+ on :
4+ - push
5+ - pull_request
46
57jobs :
68 build :
7- runs-on : ubuntu-latest
9+ runs-on : ubuntu-24.04
810 strategy :
911 matrix :
10- node : [ '18 ', '16 ', '14' ]
12+ node : ['22 ', '20 ', '18' ]
1113 name : Node ${{ matrix.node }} CI
1214 steps :
13- - uses : actions/checkout@v1
14- - name : Setup node
15- uses : actions/setup-node@v1
16- with :
17- node-version : ${{ matrix.node }}
18- - name : npm install, build, lint, and test
19- run : |
20- npm ci
21- npm run build
22- npm run lint
23- npm test
24- env :
25- CI : true
15+ - uses : actions/checkout@v4
16+
17+ - name : Setup node
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ${{ matrix.node }}
21+
22+ - name : npm install, build, lint, and test
23+ run : |
24+ npm ci
25+ npm run build
26+ npm run lint
27+ npm test
28+ env :
29+ CI : true
You can’t perform that action at this time.
0 commit comments