feat: enable github integration (#38678)

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Mrugesh Mohapatra
2020-04-30 15:03:00 +05:30
committed by GitHub
parent bf1cbd1eb0
commit 1dabaf8405
2 changed files with 10 additions and 1 deletions

View File

@ -6,6 +6,9 @@ on:
- production-**
# This will let us work on cypress config itself
- cypress-**
pull_request:
branches:
- master
jobs:
cypress-run:
name: Cypress run
@ -25,7 +28,11 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v1
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
record: true
build: npm run build
# this should mirror the production build, but for now we're just using the dev
# server and gatsby serve instead (the npm script serve:client needs updating!)

View File

@ -1 +1,3 @@
{}
{
"projectId": "ke77ns"
}