-
-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example on how to install and run on M$
- Loading branch information
1 parent
7827525
commit 94c5d39
Showing
1 changed file
with
37 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Example to run sitespeed.io on Windows | ||
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 install sitespeed.io -g | ||
- name: Install dependencies | ||
run: | | ||
choco install ffmpeg | ||
choco outdated | ||
choco install python | ||
choco install microsoft-edge | ||
choco install googlechrome | ||
choco install firefox | ||
python -m pip install --upgrade --user pip | ||
python -m pip install --upgrade --user setuptools | ||
python -m pip install --user pyssim OpenCV-Python Numpy scipy | ||
python -m pip --version | ||
python -m pip show Pillow | ||
python -m pip show pyssim | ||
shell: cmd | ||
- name: Example running test on Windows | ||
run: sitespeed.io -n 1 --video --visualMetrics https://www.sitespeed.io/ | ||
shell: bash |