Fix broken link for onlinetest blog (#4248) #3695
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: OSX Safari | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
if: ${{ !contains(github.event.head_commit.message, 'docs:') }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install dependencies | |
run: | | |
sudo safaridriver --enable | |
npm ci | |
- name: Install local HTTP server | |
run: npm install serve -g | |
- name: Start local HTTP server | |
run: (serve test/data/html/ -l 3001&) | |
- name: Run test | |
run: bin/sitespeed.js -b safari http://127.0.0.1:3001/ | |
- name: Run Safari test with config | |
run: node bin/sitespeed.js -b safari --config test/exampleConfig.json http://127.0.0.1:3001/ |