Skip to content

Commit 4bab831

Browse files
committed
HYPERFLEET-1024 - fix: pin spectral cli
1 parent f3a980a commit 4bab831

3 files changed

Lines changed: 1572 additions & 120 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
- name: Install dependencies
2525
run: npm ci
2626

27-
- name: Install Spectral CLI
28-
run: npm install -g @stoplight/spectral-cli@6.15.1
29-
3027
- name: Build all schemas
3128
run: |
3229
./build-schema.sh core
@@ -44,7 +41,7 @@ jobs:
4441
4542
- name: Lint OpenAPI schemas
4643
run: |
47-
spectral lint schemas/core/openapi.yaml schemas/gcp/openapi.yaml --format github-actions
44+
node_modules/.bin/spectral lint schemas/core/openapi.yaml schemas/gcp/openapi.yaml --format github-actions
4845
4946
- name: Check version bump
5047
env:

0 commit comments

Comments
 (0)