Try to replicate devtools failure. #3142
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
name: Windows Edge | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install sitespeed.io | |
run: npm ci | |
env: | |
CHROMEDRIVER_SKIP_DOWNLOAD: true | |
GECKODRIVER_SKIP_DOWNLOAD: true | |
- name: Install sitespeed.io | |
run: npm install sitespeed.io -g | |
shell: bash | |
- run: choco outdated | |
- name: Install dependencies | |
run: choco install microsoft-edge --force | |
- name: Run Edge test | |
run: node bin/sitespeed.js -b edge https://www.sitespeed.io/ | |
shell: cmd | |
- name: Run Edge test with scripting | |
run: node bin/sitespeed.js -b edge --multi test/prepostscripts/multiWindows.cjs -n 1 | |
shell: cmd | |
- name: Test devtools error | |
run: sitespeed.io -b edge --multi test/prepostscripts/windows.cjs -n 1 | |
shell: bash | |
- name: Run Edge test with config | |
run: node bin/sitespeed.js -b edge --config test/exampleConfig.json https://www.sitespeed.io/ | |
shell: cmd | |