mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-23 06:10:01 +00:00
fix: Use proper Playwright GitHub Action instead of manual installation
- Replace 'npx playwright install' with microsoft/playwright-github-action@v1 - Improves reliability and caching for browser installation - Supports chromium, firefox, and webkit browsers - More efficient than manual installation in CI environment
This commit is contained in:
24
.github/workflows/demo-deploy.yml
vendored
24
.github/workflows/demo-deploy.yml
vendored
@@ -60,8 +60,10 @@ jobs:
|
|||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Playwright browsers
|
- name: Install Playwright Browsers
|
||||||
run: npx playwright install --with-deps
|
uses: microsoft/playwright-github-action@v1
|
||||||
|
with:
|
||||||
|
browsers: chromium firefox webkit
|
||||||
|
|
||||||
- name: Build comprehensive demo
|
- name: Build comprehensive demo
|
||||||
run: |
|
run: |
|
||||||
@@ -249,8 +251,10 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Playwright
|
- name: Install Playwright Browsers
|
||||||
run: npx playwright install
|
uses: microsoft/playwright-github-action@v1
|
||||||
|
with:
|
||||||
|
browsers: chromium firefox webkit
|
||||||
|
|
||||||
- name: Run performance tests
|
- name: Run performance tests
|
||||||
run: |
|
run: |
|
||||||
@@ -281,8 +285,10 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Playwright
|
- name: Install Playwright Browsers
|
||||||
run: npx playwright install
|
uses: microsoft/playwright-github-action@v1
|
||||||
|
with:
|
||||||
|
browsers: chromium firefox webkit
|
||||||
|
|
||||||
- name: Run accessibility tests
|
- name: Run accessibility tests
|
||||||
run: |
|
run: |
|
||||||
@@ -318,8 +324,10 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Playwright
|
- name: Install Playwright Browsers
|
||||||
run: npx playwright install
|
uses: microsoft/playwright-github-action@v1
|
||||||
|
with:
|
||||||
|
browsers: chromium firefox webkit
|
||||||
|
|
||||||
- name: Run cross-browser tests
|
- name: Run cross-browser tests
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user