Merge pull request #2709 from weblate/weblate-getalby-lightning-brows… #5596
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: | |
- master | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
e2e-tests: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
env: | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true" | |
with: | |
node-version: "18" | |
- run: yarn install --frozen-lockfile | |
- name: Build chrome | |
run: yarn build:chrome | |
- name: Test Code | |
uses: mujo-code/puppeteer-headful@18.9.0 | |
env: | |
CI: "true" | |
with: | |
args: npx playwright test | |
- name: Artifact | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-artifcats | |
path: | | |
playwright-report/ | |
test-results/ | |
retention-days: 30 |