Merge pull request #907 from lens-protocol/T-19927/useLatestPaidActions #32
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] | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- name: Install Playwright Browsers | |
run: pnpm --dir examples/lens-next-app exec playwright install --with-deps | |
- name: Run Playwright tests | |
run: pnpm --dir examples/lens-next-app run test:e2e | |
- name: Upload Playwright report | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |