Skip to content

Commit d6a451d

Browse files
committed
fix prettier; modify yarn smokes
1 parent 14d354d commit d6a451d

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

.github/workflows/smoke.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ jobs:
9292
- name: Clear Yarn Cache
9393
run: yarn cache clean
9494
- run: |
95-
bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn"
95+
for i in {1..2}; do
96+
bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn"
97+
done
9698
9799
run-smoke--yarn--node-22--redoc:
98100
needs: prepare-smoke
@@ -108,7 +110,9 @@ jobs:
108110
- name: Clear Yarn Cache
109111
run: yarn cache clean
110112
- run: |
111-
bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn"
113+
for i in {1..2}; do
114+
bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn"
115+
done
112116
113117
run-smoke--yarn--node-20:
114118
needs: prepare-smoke
@@ -124,7 +128,9 @@ jobs:
124128
- name: Clear Yarn Cache
125129
run: yarn cache clean
126130
- run: |
127-
bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn"
131+
for i in {1..2}; do
132+
bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn"
133+
done
128134
129135
run-smoke--yarn--node-20--redoc:
130136
needs: prepare-smoke
@@ -140,7 +146,9 @@ jobs:
140146
- name: Clear Yarn Cache
141147
run: yarn cache clean
142148
- run: |
143-
bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn"
149+
for i in {1..2}; do
150+
bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn"
151+
done
144152
145153
run-smoke--pnpm--node-22:
146154
needs: prepare-smoke

__tests__/lint/path-segment-plural/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ paths:
3333
operationId: status id
3434
summary: get first status
3535
/health: # should be ignored as it's the last segment and the ignoreLastPathSegment option is set to true
36-
get:
36+
get:
3737
operationId: status
3838
summary: get health status

__tests__/smoke-plugins/run-smoke.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ npm i redocly-cli.tgz -g
1616

1717
# Actual smoke test - executing the command provided as the second argument
1818
npm run redocly-version
19-
npm run redocly-lint
19+
npm run redocly-lint

__tests__/smoke/run-smoke.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ echo "✅ Docs built correctly."
2727
# Check for broken $refs (or other issues) in the split files, especially on Windows (it will fail on a difference)
2828
echo "Checking split files for issues..."
2929
diff -r pre-split output/split -u
30-
echo "✅ Files split correctly."
30+
echo "✅ Files split correctly."

0 commit comments

Comments
 (0)