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-**
|
- production-**
|
||||||
# This will let us work on cypress config itself
|
# This will let us work on cypress config itself
|
||||||
- cypress-**
|
- cypress-**
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
cypress-run:
|
cypress-run:
|
||||||
name: Cypress run
|
name: Cypress run
|
||||||
@ -25,7 +28,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Cypress run
|
- name: Cypress run
|
||||||
uses: cypress-io/github-action@v1
|
uses: cypress-io/github-action@v1
|
||||||
|
env:
|
||||||
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
record: true
|
||||||
build: npm run build
|
build: npm run build
|
||||||
# this should mirror the production build, but for now we're just using the dev
|
# 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!)
|
# server and gatsby serve instead (the npm script serve:client needs updating!)
|
||||||
|
@ -1 +1,3 @@
|
|||||||
{}
|
{
|
||||||
|
"projectId": "ke77ns"
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user