Skip to content

Commit 45cceb1

Browse files
committed
add ajv-formats to cli
1 parent d749843 commit 45cceb1

File tree

3 files changed

+40
-78
lines changed

3 files changed

+40
-78
lines changed

.github/workflows/smoke.yaml

Lines changed: 38 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -107,49 +107,45 @@ jobs:
107107
version: 10
108108
- run: bash ./tests/smoke/basic/run-smoke.sh "pnpm add ./redocly-cli.tgz" "pnpm run"
109109

110-
run-smoke--npm--node-24--windows:
111-
needs: prepare-smoke
112-
runs-on: windows-latest
113-
steps:
114-
- uses: actions/cache@v3
115-
with:
116-
path: tests/smoke/basic/
117-
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
118-
enableCrossOsArchive: true
119-
- uses: actions/setup-node@v3
120-
with:
121-
node-version: 24
122-
- run: bash ./tests/smoke/basic/run-smoke.sh "npm i redocly-cli.tgz" "npm run"
123-
124-
run-smoke--yarn--node-24--windows:
125-
needs: prepare-smoke
126-
runs-on: windows-latest
127-
steps:
128-
- uses: actions/cache@v3
129-
with:
130-
path: tests/smoke/basic/
131-
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
132-
enableCrossOsArchive: true
133-
- uses: actions/setup-node@v3
134-
with:
135-
node-version: 24
136-
- name: Clear caches
137-
run: |
138-
yarn cache clean
139-
npm cache clean --force
140-
- name: Run Smoke Tests
141-
run: |
142-
Start-Sleep -Seconds 20 # workaround for yarn cache issue
143-
for ($i = 1; $i -le 3; $i++) {
144-
try {
145-
bash ./tests/smoke/basic/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn"
146-
if ($LASTEXITCODE -eq 0) { break }
147-
} catch {
148-
if ($i -eq 3) { throw }
149-
Start-Sleep -Seconds 5
150-
}
151-
}
110+
# Skipped due to a known Windows + NodeJS v24 issue: https://github.com/nodejs/node/issues/56645
111+
# run-smoke--npm--node-24--windows:
112+
# needs: prepare-smoke
113+
# runs-on: windows-latest
114+
# steps:
115+
# - uses: actions/cache@v3
116+
# with:
117+
# path: tests/smoke/basic/
118+
# key: cache-${{ github.run_id }}-${{ github.run_attempt }}
119+
# enableCrossOsArchive: true
120+
# - uses: actions/setup-node@v3
121+
# with:
122+
# node-version: 24
123+
# - run: bash ./tests/smoke/basic/run-smoke.sh "npm i redocly-cli.tgz" "npm run"
152124

125+
# run-smoke--yarn--node-24--windows:
126+
# needs: prepare-smoke
127+
# runs-on: windows-latest
128+
# steps:
129+
# - uses: actions/cache@v3
130+
# with:
131+
# path: tests/smoke/basic/
132+
# key: cache-${{ github.run_id }}-${{ github.run_attempt }}
133+
# enableCrossOsArchive: true
134+
# - uses: actions/setup-node@v3
135+
# with:
136+
# node-version: 24
137+
# - name: Run Smoke Tests
138+
# run: |
139+
# Start-Sleep -Seconds 20 # workaround for yarn cache issue
140+
# for ($i = 1; $i -le 3; $i++) {
141+
# try {
142+
# bash ./tests/smoke/basic/run-smoke.sh "yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000" "yarn"
143+
# if ($LASTEXITCODE -eq 0) { break }
144+
# } catch {
145+
# if ($i -eq 3) { throw }
146+
# Start-Sleep -Seconds 5
147+
# }
148+
# }
153149
run-smoke--npm--node-22:
154150
needs: prepare-smoke
155151
runs-on: ubuntu-latest

package-lock.json

Lines changed: 1 addition & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@redocly/openapi-core": "2.14.2",
4646
"@redocly/respect-core": "2.14.2",
4747
"abort-controller": "^3.0.0",
48+
"ajv-formats": "^3.0.1",
4849
"chokidar": "^3.5.1",
4950
"colorette": "^1.2.0",
5051
"cookie": "^0.7.2",

0 commit comments

Comments
 (0)