new release #2877
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 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.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/ |