Skip to content

Commit

Permalink
Troubleshoot
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeo committed Sep 8, 2024
1 parent 73589e1 commit 0b5fb70
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 22.x
cache: 'npm'
- name: Run CDS snippet checker
run: |
cd .github/cds-snippet-checker
npm install
npm run check
- name: Run Java snippet checker
run: |
cd .github/java-snippet-checker
npm install
npm run check
# - name: Run CDS snippet checker
# run: |
# cd .github/cds-snippet-checker
# npm install
# npm run check
# - name: Run Java snippet checker
# run: |
# cd .github/java-snippet-checker
# npm install
# npm run check
- run: npm ci
- run: npm test
- run: npm run docs:build
1 change: 1 addition & 0 deletions tools/cds-typer.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ The types emitted by the type generator are tightly integrated with the CDS API.
Most CQL constructs have an overloaded signature to support passing in generated types. Chained calls will offer code completion related to the type you pass in.

```js twoslash
// @noErrors
// @paths: {"#cds-models/*": ["%resolved:bookshop%"]}
const cds = require('@sap/cds')
// ---cut---
Expand Down

0 comments on commit 0b5fb70

Please sign in to comment.