Skip to content

Commit

Permalink
✨ add Github cypress action
Browse files Browse the repository at this point in the history
  • Loading branch information
Yago committed Aug 10, 2020
1 parent ead8bc1 commit 03ef893
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Unit and e2e tests

on: [pull_request]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14.x'
#This step does the yarn install internally, with cache handling.
- uses: cypress-io/github-action@v2
with:
build: cd playground && yarn build
start: cd playground && yarn start
wait-on: http://localhost:3000
browser: chrome

0 comments on commit 03ef893

Please sign in to comment.