fix lens next app e2e test #49
Workflow file for this run
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: "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 | |
run: npx create-next-app -e https://github.com/lens-protocol/lens-sdk/tree/T-20103/fix-metadata-dependency-2/examples/lens-next-app test-app | |
- name: Run Playwright tests | |
run: | | |
cd test-app | |
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 |