Update roadmap (#4788) #2135
This file contains hidden or 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: Example to run sitespeed.io on Windows | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: windows-2025 | |
| if: ${{ !contains(github.event.head_commit.message, 'docs:') }} | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - name: Use Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version: '22.x' | |
| - name: Get npm cache directory | |
| id: npm-cache-dir | |
| run: echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT" | |
| shell: bash | |
| - name: Cache npm tarballs | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ steps.npm-cache-dir.outputs.dir }} | |
| key: windows-npm-sitespeed-${{ github.run_id }} | |
| restore-keys: | | |
| windows-npm-sitespeed- | |
| - name: Install sitespeed.io | |
| run: npm install sitespeed.io -g --prefer-offline --no-audit --no-fund | |
| shell: bash | |
| env: | |
| GECKODRIVER_SKIP_DOWNLOAD: true | |
| - name: Install ffmpeg | |
| uses: AnimMouse/setup-ffmpeg@ae28d57dabbb148eff63170b6bf7f2b60062cbae # v1.2.3 | |
| with: | |
| version: '7.1' | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | |
| with: | |
| python-version: '3.12' | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip setuptools | |
| python -m pip install pyssim OpenCV-Python Numpy scipy | |
| shell: cmd | |
| - name: Example running test on Windows | |
| run: sitespeed.io -n 1 --video --visualMetrics --viewPort 1024x768 https://www.sitespeed.io/ | |
| shell: bash |