Skip to content

fix lens next app e2e test #46

fix lens next app e2e test

fix lens next app e2e test #46

Workflow file for this run

name: "Lens Next App E2E Test"
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Create a new Next.js App from the template
run: |
npx create-next-app -e https://github.com/lens-protocol/lens-sdk/tree/develop/examples/lens-next-app test-app
cd test-app
- name: Run Playwright tests
run: npm run test:e2e
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 10