diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml new file mode 100644 index 000000000..643014d38 --- /dev/null +++ b/.github/workflows/mac.yml @@ -0,0 +1,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@v3 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '18.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/ + \ No newline at end of file