File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636 - uses : actions/setup-node@v4
3737 with :
38- node-version : ' 20 '
38+ node-version : ' 22 '
3939
4040 - name : Install
4141 uses : pnpm/action-setup@v4
Original file line number Diff line number Diff line change @@ -212,3 +212,43 @@ jobs:
212212 name : playwright-report-${{ matrix.package }}
213213 path : packages/${{ matrix.package }}/typescript/playwright-report/
214214 retention-days : 30
215+
216+ test-hello-world-example :
217+ defaults :
218+ run :
219+ working-directory : ./examples/hello-world
220+ timeout-minutes : 60
221+ runs-on : ubuntu-24.04
222+ steps :
223+ - uses : actions/checkout@v4
224+ - name : Free Disk Space (Ubuntu)
225+ uses : jlumbroso/free-disk-space@main
226+
227+ - name : Pull latest Docker images
228+ run : |
229+ ./src/docker/pull.sh --no-debug
230+
231+ - uses : actions/setup-node@v4
232+ with :
233+ node-version : ' 22'
234+
235+ - name : Install
236+ uses : pnpm/action-setup@v4
237+ with :
238+ run_install : true
239+
240+ - name : Build itk-wasm
241+ run : |
242+ pnpm run --aggregate-output --filter itk-wasm build
243+ - name : Install dependencies
244+ run : pnpm install
245+ - name : Install Playwright Browsers
246+ run : pnpx playwright install --with-deps
247+ - name : Run Playwright tests
248+ run : pnpm run test
249+ - uses : actions/upload-artifact@v4
250+ if : ${{ !cancelled() }}
251+ with :
252+ name : playwright-report-hello-world
253+ path : playwright-report/
254+ retention-days : 30
You can’t perform that action at this time.
0 commit comments