Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
saboonikhil committed Feb 28, 2025
1 parent 7f9caa6 commit 2a2609f
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,21 @@ jobs:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
timeout-minutes: 15
runs-on: ubuntu-latest
container:
# Use image version that matches your Playwright version
# (Check version in package.json)
image: mcr.microsoft.com/playwright:v1.39.0-jammy
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16

# Targeted fix for libasound2 dependency issues
- name: Install specific dependencies
run: |
sudo apt-get update
# Install the specific provider for libasound2
sudo apt-get install -y liboss4-salsa-asound2
- name: Install dependencies
run: yarn

# Install only Chromium using yarn instead of npx
- name: Install Playwright browser
run: yarn playwright install --with-deps chromium

- name: Run Playwright tests
run: yarn playwright test
env:
PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }}

- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down

0 comments on commit 2a2609f

Please sign in to comment.