fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum This reverts commit8f0e441644
and introduces the implementations from #40703. * fix(gitpod): add curriculum build to GitPod This reverts commit706d70f58d
and introduces implementations from #41234. * docs: update DevOps manual for api change (#41259) Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
committed by
GitHub
parent
31bdea63a2
commit
b5f4754e2a
7
.github/workflows/cypress.yml
vendored
7
.github/workflows/cypress.yml
vendored
@@ -51,6 +51,7 @@ jobs:
|
||||
run: |
|
||||
npm ci
|
||||
npm run ensure-env
|
||||
npm run build:curriculum
|
||||
|
||||
- name: Seed Database
|
||||
run: npm run seed
|
||||
@@ -60,9 +61,9 @@ jobs:
|
||||
with:
|
||||
record: ${{ env.CYPRESS_RECORD_KEY != 0 }}
|
||||
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!)
|
||||
start: npm start
|
||||
# this should mirror the production build, but for now we're using gatsby
|
||||
# serve instead (the npm script serve:client needs updating!)
|
||||
start: npm run start-ci
|
||||
wait-on: http://localhost:8000
|
||||
# the site builds in about 8 minutes, so there is currently 12 minutes of time
|
||||
# left for testing.
|
||||
|
2
.github/workflows/node.js-tests.yml
vendored
2
.github/workflows/node.js-tests.yml
vendored
@@ -39,6 +39,7 @@ jobs:
|
||||
run: |
|
||||
npm ci
|
||||
npm run ensure-env
|
||||
npm run build:curriculum
|
||||
npm run lint
|
||||
|
||||
test:
|
||||
@@ -79,6 +80,7 @@ jobs:
|
||||
run: |
|
||||
npm ci
|
||||
npm run ensure-env
|
||||
npm run build:curriculum
|
||||
|
||||
- name: Run Tests
|
||||
run: npm test
|
||||
|
Reference in New Issue
Block a user