File tree Expand file tree Collapse file tree 3 files changed +44
-28
lines changed Expand file tree Collapse file tree 3 files changed +44
-28
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ branches :
8+ - master
9+ workflow_dispatch :
10+ jobs :
11+ Tests :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Dump Chrome version
16+ run : |
17+ "$CHROME_BIN" --version
18+ - name : Dump Node.js version
19+ run : |
20+ node --version
21+ - name : Dump NPM version
22+ run : |
23+ npm --version
24+ - name : Install dependencies
25+ run : |
26+ npm install
27+ - name : Start headless Chrome
28+ run : |
29+ $CHROME_BIN \
30+ --disable-extensions \
31+ --disable-gpu \
32+ --headless \
33+ --no-first-run \
34+ --no-sandbox \
35+ --remote-debugging-port=9222 \
36+ --user-data-dir="$(mktemp -d)" \
37+ about:blank &
38+ - name : Wait for Chrome to start listening
39+ run : |
40+ while ! curl --silent --fail http://localhost:9222; do sleep 1; done
41+ - name : Run tests
42+ run : |
43+ npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # chrome-remote-interface [ ![ Build Status ] [ ]] [ travis ]
1+ # chrome-remote-interface [ ![ CI status ] ( https://github.com/cyrus-and/chrome-remote-interface/actions/workflows/ci.yml/badge.svg )] ( https://github.com/cyrus-and/chrome-remote-interface/actions?query=workflow:CI )
22
33[ Build Status ] : https://app.travis-ci.com/cyrus-and/chrome-remote-interface.svg?branch=master
44[ travis ] : https://app.travis-ci.com/cyrus-and/chrome-remote-interface
You can’t perform that action at this time.
0 commit comments