Skip to content

Commit da6b970

Browse files
authored
Fix Github Workflow for CAP Sample (#1)
* fix 'setup node' step
1 parent f87f4aa commit da6b970

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build_and_test_cap.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ jobs:
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'
29+
cache-dependency-path: ams-cap-nodejs-bookshop
2930
- name: Set up JDK 17 # for DCL -> DCN compilation to work before tests
3031
uses: actions/setup-java@v4
3132
with:
3233
java-version: '17'
3334
distribution: 'temurin'
34-
- run: npm --prefix ams-cap-nodejs-bookshop ci
35-
- run: npm --prefix ams-cap-nodejs-bookshop test
35+
- run: npm ci
36+
working-directory: ams-cap-nodejs-bookshop
37+
- run: npm test
38+
working-directory: ams-cap-nodejs-bookshop

0 commit comments

Comments
 (0)