mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-23 06:10:01 +00:00
fix: Replace deprecated Playwright action with recommended CLI approach
- Replace microsoft/playwright-github-action@v1 with npx playwright install --with-deps - Fix 'browsers' parameter issue (not supported in deprecated action) - Fix Linux distribution dependency installation issues - Use official recommended approach from Playwright documentation - Install chromium, firefox, and webkit browsers with system dependencies
This commit is contained in:
16
.github/workflows/demo-deploy.yml
vendored
16
.github/workflows/demo-deploy.yml
vendored
@@ -61,9 +61,7 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
uses: microsoft/playwright-github-action@v1
|
run: npx playwright install --with-deps chromium firefox webkit
|
||||||
with:
|
|
||||||
browsers: chromium firefox webkit
|
|
||||||
|
|
||||||
- name: Build comprehensive demo
|
- name: Build comprehensive demo
|
||||||
run: |
|
run: |
|
||||||
@@ -252,9 +250,7 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
uses: microsoft/playwright-github-action@v1
|
run: npx playwright install --with-deps chromium firefox webkit
|
||||||
with:
|
|
||||||
browsers: chromium firefox webkit
|
|
||||||
|
|
||||||
- name: Run performance tests
|
- name: Run performance tests
|
||||||
run: |
|
run: |
|
||||||
@@ -286,9 +282,7 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
uses: microsoft/playwright-github-action@v1
|
run: npx playwright install --with-deps chromium firefox webkit
|
||||||
with:
|
|
||||||
browsers: chromium firefox webkit
|
|
||||||
|
|
||||||
- name: Run accessibility tests
|
- name: Run accessibility tests
|
||||||
run: |
|
run: |
|
||||||
@@ -325,9 +319,7 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
uses: microsoft/playwright-github-action@v1
|
run: npx playwright install --with-deps chromium firefox webkit
|
||||||
with:
|
|
||||||
browsers: chromium firefox webkit
|
|
||||||
|
|
||||||
- name: Run cross-browser tests
|
- name: Run cross-browser tests
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user