File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Node.js CI
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ build :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ os : [ubuntu-latest]
15+ node-version : [20.x]
16+
17+ runs-on : ${{ matrix.os }}
18+ timeout-minutes : 20
19+
20+ steps :
21+ - name : Github checkout
22+ uses : actions/checkout@v4
23+ if : matrix.os == 'ubuntu-latest'
24+ - name : Use Node.js ${{ matrix.node-version }}
25+ uses : actions/setup-node@v4
26+ with :
27+ node-version : ${{ matrix.node-version }}
28+ cache : ' npm'
29+ - run : npm ci
30+ - run : npm run lint:check
31+ - run : npm audit --audit-level=critical
32+ - run : npm run test:ci
33+ - name : Upload coverage reports to Codecov
34+ uses : codecov/codecov-action@v4
35+ with :
36+ token : ${{ secrets.CODECOV_TOKEN }}
37+ verbose : true
38+ fail_ci_if_error : true
39+
40+ - run : npm run build
You can’t perform that action at this time.
0 commit comments