-
-
Notifications
You must be signed in to change notification settings - Fork 136
37 lines (36 loc) · 945 Bytes
/
mac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: OSX Chrome, Firefox and Edge
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: macos-13
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install browsertime
run: npm ci
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
brew update
brew install google-chrome
brew install --cask firefox
brew install --cask microsoft-edge
- name: Test Chrome
run: ./bin/browsertime.js -b chrome -n 1 https://www.sitespeed.io/
- name: Test Firefox
run: ./bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io/
- name: Test Edge
run: ./bin/browsertime.js -b edge -n 1 https://www.sitespeed.io/