Skip to content

Commit

Permalink
add headless chrome github action (cypress-io#346)
Browse files Browse the repository at this point in the history
* add headless chrome github action

* rename workflows, separate chrome from chrome headless

* rename jobs

* rename again
  • Loading branch information
bahmutov authored Jan 10, 2020
1 parent 722bff1 commit e6c29b6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/chrome-headless.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Chrome headless

on: push

jobs:
chrome-headless:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Headless Chrome
uses: cypress-io/github-action@v1
timeout-minutes: 10
with:
build: npm run build
start: npm start
browser: chrome
headless: true
17 changes: 17 additions & 0 deletions .github/workflows/chrome.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Chrome

on: push

jobs:
chrome:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Chrome
uses: cypress-io/github-action@v1
timeout-minutes: 10
with:
build: npm run build
start: npm start
browser: chrome

0 comments on commit e6c29b6

Please sign in to comment.