Skip to content

Commit

Permalink
Add cds-types (#761)
Browse files Browse the repository at this point in the history
Also add Node 22 to CI
  • Loading branch information
chgeo committed Sep 16, 2024
1 parent 2f91f7d commit eb9a5ed
Show file tree
Hide file tree
Showing 4 changed files with 3,306 additions and 3,134 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [20.x, 18.x]
node-version: [22.x, 20.x, 18.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -33,6 +33,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
- run: npm ci
- run: npm run lint
1 change: 1 addition & 0 deletions data-viewer/srv/data-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class DataService extends cds.ApplicationService { init(){

module.exports = { DataService }

/** @returns {cds.Service} */
function findDataSource(dataSourceName, entityName) {
for (let srv of Object.values(cds.services)) { // all connected services
if (!srv.name) continue // FIXME intermediate/pending in cds.services ?
Expand Down
Loading

0 comments on commit eb9a5ed

Please sign in to comment.