-
-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8119af2
commit 45b1e76
Showing
3 changed files
with
35 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
steps: | ||
- run: npm install --legacy-peer-deps | ||
env: | ||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | ||
name: 'install deps' | ||
description: 'install deps' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- run: npm install --legacy-peer-deps | ||
env: | ||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
steps: | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.4 | ||
- run: npm install --legacy-peer-deps | ||
env: | ||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | ||
name: 'install php and deps' | ||
description: 'install php and deps' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.4 | ||
- run: npm install --legacy-peer-deps | ||
env: | ||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
steps: | ||
- name: npm install | ||
run: | | ||
npm install --legacy-peer-deps | ||
env: | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | ||
- name: Install browsers and deps | ||
run: npx playwright install && npx playwright install-deps | ||
- name: start a server | ||
run: "php -S 127.0.0.1:8000 -t test/data/app &" | ||
name: 'playwright steps' | ||
description: 'install deps and start test server' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: npm install | ||
run: | | ||
npm install --legacy-peer-deps | ||
env: | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | ||
- name: Install browsers and deps | ||
run: npx playwright install && npx playwright install-deps | ||
- name: start a server | ||
run: "php -S 127.0.0.1:8000 -t test/data/app &" |