@@ -308,6 +308,10 @@ jobs:
308
308
tests/Fixtures/app/console api:openapi:export --spec-version=2 --yaml -o build/out/openapi/swagger_v2.yaml
309
309
tests/Fixtures/app/console api:openapi:export --spec-version=3 -o build/out/openapi/openapi_v3.json
310
310
tests/Fixtures/app/console api:openapi:export --spec-version=3 --yaml -o build/out/openapi/openapi_v3.yaml
311
+ - name : Setup node
312
+ uses : actions/setup-node@v2
313
+ with :
314
+ node-version : ' 14'
311
315
- name : Validate OpenAPI documents
312
316
run : |
313
317
npx git+https://github.com/soyuka/swagger-cli#master validate build/out/openapi/swagger_v2.json
@@ -875,6 +879,10 @@ jobs:
875
879
tests/Fixtures/app/console api:openapi:export --spec-version=2 --yaml -o build/out/openapi/swagger_v2.yaml
876
880
tests/Fixtures/app/console api:openapi:export --spec-version=3 -o build/out/openapi/openapi_v3.json
877
881
tests/Fixtures/app/console api:openapi:export --spec-version=3 --yaml -o build/out/openapi/openapi_v3.yaml
882
+ - name : Setup node
883
+ uses : actions/setup-node@v2
884
+ with :
885
+ node-version : ' 14'
878
886
- name : Validate OpenAPI documents
879
887
run : |
880
888
npx git+https://github.com/soyuka/swagger-cli#master validate build/out/openapi/swagger_v2.json
@@ -1089,6 +1097,10 @@ jobs:
1089
1097
tests/Fixtures/app/console api:openapi:export --spec-version=2 --yaml -o build/out/openapi/swagger_v2.yaml
1090
1098
tests/Fixtures/app/console api:openapi:export --spec-version=3 -o build/out/openapi/openapi_v3.json
1091
1099
tests/Fixtures/app/console api:openapi:export --spec-version=3 --yaml -o build/out/openapi/openapi_v3.yaml
1100
+ - name : Setup node
1101
+ uses : actions/setup-node@v2
1102
+ with :
1103
+ node-version : ' 14'
1092
1104
- name : Validate OpenAPI documents
1093
1105
run : |
1094
1106
npx git+https://github.com/soyuka/swagger-cli#master validate build/out/openapi/swagger_v2.json
0 commit comments