Skip to content

Commit a3b833f

Browse files
chore: fix CI by installing node
1 parent 87e9f7c commit a3b833f

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,10 @@ jobs:
308308
tests/Fixtures/app/console api:openapi:export --spec-version=2 --yaml -o build/out/openapi/swagger_v2.yaml
309309
tests/Fixtures/app/console api:openapi:export --spec-version=3 -o build/out/openapi/openapi_v3.json
310310
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'
311315
- name: Validate OpenAPI documents
312316
run: |
313317
npx git+https://github.com/soyuka/swagger-cli#master validate build/out/openapi/swagger_v2.json
@@ -875,6 +879,10 @@ jobs:
875879
tests/Fixtures/app/console api:openapi:export --spec-version=2 --yaml -o build/out/openapi/swagger_v2.yaml
876880
tests/Fixtures/app/console api:openapi:export --spec-version=3 -o build/out/openapi/openapi_v3.json
877881
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'
878886
- name: Validate OpenAPI documents
879887
run: |
880888
npx git+https://github.com/soyuka/swagger-cli#master validate build/out/openapi/swagger_v2.json
@@ -1089,6 +1097,10 @@ jobs:
10891097
tests/Fixtures/app/console api:openapi:export --spec-version=2 --yaml -o build/out/openapi/swagger_v2.yaml
10901098
tests/Fixtures/app/console api:openapi:export --spec-version=3 -o build/out/openapi/openapi_v3.json
10911099
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'
10921104
- name: Validate OpenAPI documents
10931105
run: |
10941106
npx git+https://github.com/soyuka/swagger-cli#master validate build/out/openapi/swagger_v2.json

tests/Hal/Serializer/ObjectNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\Tests\Hal\Serializer;
1515

16-
use ApiPlatform\Core\Api\IriConverterInterface;
16+
use ApiPlatform\Api\IriConverterInterface;
1717
use ApiPlatform\Core\Tests\ProphecyTrait;
1818
use ApiPlatform\Hal\Serializer\ObjectNormalizer;
1919
use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy;

0 commit comments

Comments
 (0)