Skip to content

Commit 2e2bfb1

Browse files
committed
chore: add smoke tests for windows and node 20
1 parent 7cbbbc1 commit 2e2bfb1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/smoke.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,34 @@ jobs:
227227
node-version: 22
228228
- run: bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn"
229229

230+
run-smoke--npm--node-20--windows:
231+
needs: prepare-smoke
232+
runs-on: windows-latest
233+
steps:
234+
- uses: actions/cache@v3
235+
with:
236+
path: __tests__/smoke/
237+
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
238+
enableCrossOsArchive: true
239+
- uses: actions/setup-node@v3
240+
with:
241+
node-version: 20
242+
- run: bash ./__tests__/smoke/run-smoke.sh "npm i redocly-cli.tgz" "npm run"
243+
244+
run-smoke--yarn--node-20--windows:
245+
needs: prepare-smoke
246+
runs-on: windows-latest
247+
steps:
248+
- uses: actions/cache@v3
249+
with:
250+
path: __tests__/smoke/
251+
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
252+
enableCrossOsArchive: true
253+
- uses: actions/setup-node@v3
254+
with:
255+
node-version: 20
256+
- run: bash ./__tests__/smoke/run-smoke.sh "yarn add ./redocly-cli.tgz" "yarn"
257+
230258
run-smoke--npm--node-18--windows:
231259
needs: prepare-smoke
232260
runs-on: windows-latest

0 commit comments

Comments
 (0)