File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : [main]
7+ pull_request :
8+ branches : [main]
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ node-version : [20.x, 22.x]
17+ cds-version : [8.9.4, latest]
18+ steps :
19+ - uses : actions/checkout@v2
20+ - name : Use Node.js ${{ matrix.node-version }}
21+ uses : actions/setup-node@v2
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+ - run : npm i -g @sap/cds-dk@${{ matrix.cds-version }}
25+ - run : npm i
26+ - run : cd test/incidents-app && npm i # TODO: Adjust to new template
27+ - run : npm run test
Original file line number Diff line number Diff line change 2626 "@sap/xssec" : " ^3.6.2"
2727 },
2828 "peerDependencies" : {
29- "@sap/cds" : " ^ 8"
29+ "@sap/cds" : " >= 8"
3030 },
3131 "devDependencies" : {
3232 "@cap-js/cds-test" : " ^0.2.0" ,
3333 "@cap-js/sqlite" : " ^1" ,
3434 "@sap/cds" : " ^8" ,
3535 "eslint" : " ^9.4.0" ,
3636 "eslint-plugin-jest" : " ^28.5.0" ,
37- "jest" : " ^29.7.0"
37+ "jest" : " ^29.7.0" ,
38+ "@cap-js/sqlite" : " >=2"
3839 },
3940 "cds" : {
4041 "requires" : {
You can’t perform that action at this time.
0 commit comments