Skip to content

chore(deps): pin dependencies #590

chore(deps): pin dependencies

chore(deps): pin dependencies #590

Workflow file for this run

name: Playwright Tests
on:
pull_request:
jobs:
test-tutorials:
timeout-minutes: 12
runs-on: ubuntu-latest
strategy:
matrix:
tutorial:
- "erc20-paymaster"
- "how-to-test-contracts"
- "daily-spend-limit"
- "signing-txns-with-webauthn"
- "native-aa-multisig"
- "frontend-paymaster"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1
- name: Install Dependencies
run: bun install --frozen-lockfile
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
- name: Install Playwright Browsers
run: bun playwright install chromium --with-deps
- name: Run Era Test Node
uses: dutterbutter/era-test-node-action@66121581304ee2d4f0c1c2de46a3d08f1c2f5264 # v1
- name: Create Metamask Cache
run: xvfb-run bun setup:mm
- name: Run test for ${{ matrix.tutorial }}
run: |
export TERM=xterm-256color
export COLUMNS=80
export LINES=24
xvfb-run bun test:headful tests/${{ matrix.tutorial }}.spec.ts
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
if: always()
with:
name: playwright-report-${{ matrix.tutorial }}
path: |
${{ github.workspace }}/playwright-report/
retention-days: 10