Skip to content

build: add npm to be packaged with phoenix release for node package m… #21

build: add npm to be packaged with phoenix release for node package m…

build: add npm to be packaged with phoenix release for node package m… #21

name: Firefox run Integration tests suite with Playwright
on:
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Build phoenix
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright integration tests in firefox Attempt 1
timeout-minutes: 30
id: attempt1
continue-on-error: true
run: npm run testIntegFirefox
- name: Run Playwright integration tests in firefox Attempt 2
if: steps.attempt1.outcome == 'failure'
id: attempt2
run: npm run testIntegFirefox
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30