mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
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
@@ -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!)
|
||||
|
||||
Reference in New Issue
Block a user