fix: re-revert the API decoupling (#41263)

* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d 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:
Mrugesh Mohapatra
2021-02-26 01:32:35 +05:30
committed by GitHub
parent 31bdea63a2
commit b5f4754e2a
172 changed files with 381 additions and 349 deletions

View File

@@ -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.

View File

@@ -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