mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-28 03:49:22 +08:00
chore: remove Cypress (#55056)
This commit is contained in:
+2
-3
@@ -26,7 +26,6 @@ tasks:
|
||||
export COOKIE_DOMAIN=gitpod.io
|
||||
export HOME_LOCATION=$(gp url 8000)
|
||||
export API_LOCATION=$(gp url 3000)
|
||||
export CYPRESS_BASE_URL=$(gp url 8000)
|
||||
export CHALLENGE_EDITOR_API_LOCATION=$(gp url 3200)
|
||||
export CHALLENGE_EDITOR_CLIENT_LOCATION=$(gp url 3300)
|
||||
' >> ~/.bashrc;
|
||||
@@ -39,7 +38,7 @@ tasks:
|
||||
(mongod --dbpath /workspace/data &)
|
||||
|
||||
- name: server
|
||||
before: export COOKIE_DOMAIN=gitpod.io && export HOME_LOCATION=$(gp url 8000) && export API_LOCATION=$(gp url 3000) && export CYPRESS_BASE_URL=$(gp url 8000)
|
||||
before: export COOKIE_DOMAIN=gitpod.io && export HOME_LOCATION=$(gp url 8000) && export API_LOCATION=$(gp url 3000)
|
||||
# init is not executed for prebuilt workspaces and restarts,
|
||||
# so we should put all the heavy initialization here
|
||||
init: >
|
||||
@@ -55,7 +54,7 @@ tasks:
|
||||
pnpm run develop:server
|
||||
|
||||
- name: client
|
||||
before: export HOME_LOCATION=$(gp url 8000) && export API_LOCATION=$(gp url 3000) && export CYPRESS_BASE_URL=$(gp url 8000)
|
||||
before: export HOME_LOCATION=$(gp url 8000) && export API_LOCATION=$(gp url 3000)
|
||||
init: >
|
||||
cd ./client &&
|
||||
gp sync-await pnpm-install &&
|
||||
|
||||
Reference in New Issue
Block a user