Skip to content

Commit f0f3d2a

Browse files
committed
changes for windows yarn smoke
1 parent 2e02789 commit f0f3d2a

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/smoke.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,14 @@ jobs:
196196
- name: Clear Yarn Cache
197197
run: |
198198
yarn cache clean
199+
Remove-Item -Path "$env:APPDATA\Local\Yarn\Cache\v6\.tmp" -Recurse -Force -ErrorAction SilentlyContinue
199200
Start-Sleep -Seconds 15
200-
- run: |
201+
- name: Install Package
202+
run: |
201203
Start-Sleep -Seconds 15
202-
bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn"
204+
yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000
205+
- name: Run Smoke Tests
206+
run: bash ./__tests__/smoke/run-smoke.sh "yarn" "yarn"
203207

204208
run-smoke--npm--node-20--windows:
205209
needs: prepare-smoke
@@ -230,10 +234,14 @@ jobs:
230234
- name: Clear Yarn Cache
231235
run: |
232236
yarn cache clean
237+
Remove-Item -Path "$env:APPDATA\Local\Yarn\Cache\v6\.tmp" -Recurse -Force -ErrorAction SilentlyContinue
233238
Start-Sleep -Seconds 15
234-
- run: |
239+
- name: Install Package
240+
run: |
235241
Start-Sleep -Seconds 15
236-
bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn"
242+
yarn add ./redocly-cli.tgz --no-lockfile --network-timeout 100000
243+
- name: Run Smoke Tests
244+
run: bash ./__tests__/smoke/run-smoke.sh "yarn" "yarn"
237245

238246
run-smoke--docker-image:
239247
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)