feat: enable github integration (#38678)
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
committed by
GitHub
parent
bf1cbd1eb0
commit
1dabaf8405
7
.github/workflows/cypress.yml
vendored
7
.github/workflows/cypress.yml
vendored
@ -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!)
|
||||
|
@ -1 +1,3 @@
|
||||
{}
|
||||
{
|
||||
"projectId": "ke77ns"
|
||||
}
|
||||
|
Reference in New Issue
Block a user