cleanup #339
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Example e2e tests | |
on: [push] | |
jobs: | |
test: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install wasm-bindgen-cli | |
run: cargo install wasm-bindgen-cli | |
- name: install wasm-unknown-unknown target | |
run: rustup target add wasm32-unknown-unknown | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: install dependencies | |
run: pnpm install | |
- name: Build opaque | |
run: pnpm build | |
- name: install Playwright browsers | |
run: npx playwright install --with-deps | |
- name: run client-simple-webpack tests | |
working-directory: examples/client-simple-webpack | |
run: npx playwright test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: examples/client-simple-webpack/playwright-report/ | |
retention-days: 30 | |
- name: run client-with-password-reset tests | |
working-directory: examples/client-with-password-reset | |
run: npx playwright test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: examples/client-with-password-reset/playwright-report/ | |
retention-days: 30 | |
- name: run fullstack-e2e-encrypted-locker-nextjs tests | |
working-directory: examples/fullstack-e2e-encrypted-locker-nextjs | |
run: npx playwright test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: examples/fullstack-e2e-encrypted-locker-nextjs/playwright-report/ | |
retention-days: 30 |