chore: cleanup deps #668
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: E2E Tests | |
on: | |
push: | |
branches: [main, staging] | |
pull_request: | |
branches: [main, staging] | |
jobs: | |
run-e2e-tests: | |
env: | |
CI: true | |
NEXT_PUBLIC_PARLA_API_URL: http://localhost:8080 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js from .nvmrc | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: npm run start & | |
- run: npx playwright install --with-deps | |
- run: npx playwright test | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: test-results/ | |
retention-days: 30 |