Skip to content

Commit 495c310

Browse files
committed
NPA-3899 Validate Consent Example
1 parent f50d0e7 commit 495c310

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/schema-checks.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ jobs:
1414
with:
1515
node-version: '22'
1616

17+
- name: Install dependencies
18+
run: npm install -g
19+
1720
- name: Run Schema Validation
18-
run: schema validate --filePath specification/examples/responses/GET_Consent/adults-consenting.yaml --schema specification/validated-relationships-service-api.yaml --schema-obj "#/components/schemas/ConsentBundle"
21+
run: npx run schema validate --filePath specification/examples/responses/GET_Consent/adults-consenting.yaml --schema specification/validated-relationships-service-api.yaml --schema-obj "#/components/schemas/ConsentBundle"

0 commit comments

Comments
 (0)