Skip to content

Commit 6054684

Browse files
committed
chore: test two yarn jobs with retries
1 parent 198be07 commit 6054684

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

.github/workflows/smoke.yaml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,23 @@ jobs:
9696
bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn" && break || sleep 5
9797
done
9898
99-
# run-smoke--yarn--node-22--redoc:
100-
# needs: prepare-smoke
101-
# runs-on: ubuntu-latest
102-
# steps:
103-
# - uses: actions/cache@v3
104-
# with:
105-
# path: __tests__/smoke/
106-
# key: cache-${{ github.run_id }}-${{ github.run_attempt }}
107-
# - uses: actions/setup-node@v3
108-
# with:
109-
# node-version: 22
110-
# - run: bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn"
99+
run-smoke--yarn--node-22--redoc:
100+
needs: prepare-smoke
101+
runs-on: ubuntu-latest
102+
steps:
103+
- uses: actions/cache@v3
104+
with:
105+
path: __tests__/smoke/
106+
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
107+
- uses: actions/setup-node@v3
108+
with:
109+
node-version: 22
110+
- name: Clear Yarn Cache
111+
run: yarn cache clean
112+
- run: |
113+
for i in {1..3}; do
114+
bash ./__tests__/smoke/run-smoke.sh "yarn add redoc ./redocly-cli.tgz" "yarn" && break || sleep 5
115+
done
111116
112117
# run-smoke--yarn--node-20:
113118
# needs: prepare-smoke

0 commit comments

Comments
 (0)