Skip to content

Commit e6e2e00

Browse files
authored
Merge branch 'main' into bugfix/eja-add-construct-spec-to-generate-sandbox-spec
2 parents 88abe39 + 975f230 commit e6e2e00

File tree

17 files changed

+3130
-267
lines changed

17 files changed

+3130
-267
lines changed

.github/actions/lint-and-validate-specification/action.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ runs:
1313
with:
1414
node-version: "20"
1515

16-
- name: Install dependencies
16+
- name: Install system dependencies
1717
shell: bash
1818
run: |
1919
sudo apt-get update
2020
sudo apt-get install -y make
2121
22-
- name: Install Spectral, Swagger CLI, and Redocly CLI
22+
- name: Install CLI tools locally
2323
shell: bash
2424
run: |
25-
npm install -g @stoplight/spectral-cli swagger-cli @redocly/cli
25+
npm ci
2626
2727
- name: Construct OpenAPI Spec
2828
shell: bash
@@ -32,8 +32,9 @@ runs:
3232
- name: Lint OpenAPI Spec with Spectral
3333
shell: bash
3434
run: |
35-
spectral lint --ruleset .spectral.yaml build/specification/${{ inputs.apim-env }}/eligibility-signposting-api.yaml
35+
npx spectral lint --ruleset .spectral.yaml build/specification/${{ inputs.apim-env }}/eligibility-signposting-api.yaml
3636
3737
- name: Validate OpenAPI Spec with Swagger CLI
3838
shell: bash
39-
run: swagger-cli validate build/specification/${{ inputs.apim-env }}/eligibility-signposting-api.yaml
39+
run: |
40+
npx swagger-cli validate build/specification/${{ inputs.apim-env }}/eligibility-signposting-api.yaml

.github/workflows/publish-specification.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
python-version: '3.11'
3030

3131
- name: Set up Node.js
32-
uses: actions/setup-node@v4
32+
uses: actions/setup-node@v5
3333
with:
3434
node-version: '20'
3535

.github/workflows/publish_sandbox.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: '3.11'
2424

2525
- name: Set up Node.js
26-
uses: actions/setup-node@v4
26+
uses: actions/setup-node@v5
2727
with:
2828
node-version: '20'
2929

0 commit comments

Comments
 (0)