File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,40 +3,41 @@ name: CI
33on : [push]
44
55jobs :
6- build :
6+ lint :
77 runs-on : ubuntu-latest
8- strategy :
9- matrix :
10- node-version : [18.x, 20.x, 22.x, 24.x]
118
129 steps :
1310 - uses : actions/checkout@v4
1411 with :
1512 show-progress : false
16- - name : Use Node.js ${{ matrix.node-version }}
13+ - name : Use Node.js 24
1714 uses : actions/setup-node@v4
1815 with :
19- node-version : ${{ matrix.node-version }}
16+ node-version : 24
2017 cache : ' npm'
2118 - name : Install dependencies
2219 run : npm ci
23- - run : npm run build
20+ - run : npm run lint
2421
25- lint :
22+ build :
23+ needs : lint
2624 runs-on : ubuntu-latest
25+ strategy :
26+ matrix :
27+ node-version : [18.x, 20.x, 22.x, 24.x]
2728
2829 steps :
2930 - uses : actions/checkout@v4
3031 with :
3132 show-progress : false
32- - name : Use Node.js 24
33+ - name : Use Node.js ${{ matrix.node-version }}
3334 uses : actions/setup-node@v4
3435 with :
35- node-version : 24
36+ node-version : ${{ matrix.node-version }}
3637 cache : ' npm'
3738 - name : Install dependencies
3839 run : npm ci
39- - run : npm run lint
40+ - run : npm run build
4041
4142 test :
4243 needs : lint
Original file line number Diff line number Diff line change 1212 - uses : actions/checkout@v4
1313 with :
1414 token : ${{ secrets.GITHUB_TOKEN }}
15+ ssh-key : ${{ secrets.MERGE_BYPASS_KEY }}
1516 ref : ${{ github.event.repository.default_branch }}
1617 - name : Setup Node.js
1718 uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments