Commit Graph

55 Commits

Author SHA1 Message Date
Mrugesh Mohapatra 4ea52e2639 chore: update to node 24 (#65416) 2026-01-22 19:29:48 +05:30
Oliver Eyton-Williams f03ad05e84 refactor: bundle shared so each consumer can require/import without hassle (#64167) 2026-01-19 09:45:40 +00:00
renovate[bot] 83dab65123 chore(deps): update actions/setup-node action to v6.2.0 (#65244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-16 04:17:21 +00:00
renovate[bot] e4f1e611b8 chore(deps): update github actions (major) (#65179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-15 16:07:37 +00:00
Oliver Eyton-Williams 15c98b0db9 refactor: move playwright config into e2e folder (#64741) 2026-01-05 20:30:02 +05:30
renovate[bot] 35c126e733 chore(deps): update github actions (#64807)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-21 10:06:10 +05:30
renovate[bot] f764b42495 chore(deps): update github actions (#63915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-18 10:38:10 +05:30
renovate[bot] c0dc4d59ae chore(deps): update github actions (major) (#63420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 09:46:55 +05:30
renovate[bot] 0c8914818c chore(deps): update github actions (#63209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-29 03:25:53 +05:30
Oliver Eyton-Williams 4a635c1b32 refactor: migrate (some) curriculum files to TypeScript (#62228)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2025-10-23 10:54:57 +05:30
Mrugesh Mohapatra 97302e8886 fix(docker): consistently use DB everywhere (#62569) 2025-10-21 20:53:59 +05:30
Mrugesh Mohapatra 3cbe2ab8b1 fix(tools): consolidate docker compose setup (#62525) 2025-10-07 10:49:41 +05:30
Mrugesh Mohapatra ef610dd36c fix(tools): s/MailHog/Mailpit/g (#62481) 2025-10-03 13:25:33 -07:00
Oliver Eyton-Williams ac198cac9c perf(ci): skip cache to see if perf improves (#60681) 2025-06-03 22:18:38 +05:30
Mrugesh Mohapatra 1557711a68 fix(tools): Update node to v22, improve caching? (#60651) 2025-06-03 15:05:40 +05:30
Mrugesh Mohapatra 16e461385e chore(api-server): bye-bye you served us well (#60520)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-05-27 09:56:46 +05:30
Mrugesh Mohapatra 186ccf2602 fix(gha): do not cancel for main/prod branches (#60383) 2025-05-15 20:46:46 +02:00
Oliver Eyton-Williams 31b956d16f chore: update to mongodb 8 in CI (#60215) 2025-05-07 21:45:53 +02:00
Mrugesh Mohapatra c87ae5a8ba fix(GHA): improve specificity of concurrency (#59677) 2025-04-12 13:54:12 +05:30
Mrugesh Mohapatra c78429b2bb fix(GHA): remove pnpm version
Do not specify pnpm version, it will fallback to packageManager key in
the package.json
2025-03-16 06:24:19 +05:30
Mrugesh Mohapatra 7f8474affe fix(GHA): use numeric versions for node 2025-03-15 09:02:09 +05:30
Shaun Hamilton 1ec0497b13 chore(.github): optimise workflow usage (#56998) 2024-10-30 14:46:41 +01:00
Tom 99023bfcdc chore(curriculum): remove BUILD_WITH_SUBMODULE env variable (#55654) 2024-07-26 17:12:11 +02:00
Sem Bauke 328807afd1 feat: convert thirdparty donation tests to Playwright (#55043) 2024-06-14 14:20:45 +02:00
Mrugesh Mohapatra dabea4a904 chore: bump pnpm version 2024-05-18 17:23:23 +05:30
Ahmad Abdolsaheb 20b6b83e99 feat: remove paypal webhook listener (#54395) 2024-04-29 07:49:21 +02:00
Oliver Eyton-Williams e470765bc0 chore: housekeeping (update + pin actions etc.) (#54015) 2024-03-07 13:55:37 +00:00
Mrugesh Mohapatra 167cbead7a fix: update ubuntu images to latest LTS (#52106) 2023-10-26 12:14:45 +05:30
renovate[bot] 3bac8640a1 chore(deps): update github actions 2023-10-24 11:04:25 +00:00
Oliver Eyton-Williams b29c869258 chore: bump node to version 20 in actions (#51952)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2023-10-13 22:32:09 +05:30
Oliver Eyton-Williams c772b9884a chore(deps): update Cypress to version 12 (#51622)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-09-22 15:42:56 -05:00
renovate[bot] 904846476f chore(deps): update actions/checkout digest to f43a0e5 (#51377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 15:17:29 +05:30
renovate[bot] edec7ba661 chore(deps): update github actions 2023-08-19 11:48:19 +05:30
Oliver Eyton-Williams 7fd74c8f5c fix(tools): manage PM2 globally 2023-07-17 16:45:37 +05:30
renovate[bot] 3b091e84b0 chore(deps): update github actions 2023-07-08 03:37:04 +00:00
renovate[bot] 27135d67a6 chore(deps): update github actions (#50648)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-10 14:05:31 +05:30
renovate[bot] cf53cf2e22 chore(deps): update github actions (#50062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-15 05:59:07 +05:30
Mrugesh Mohapatra 4100d6a5be chore: update task title 2023-04-11 10:58:38 +05:30
Mrugesh Mohapatra ad842f7f0c fix(actions,e2e): update spec formats (#49984) 2023-04-11 03:49:42 +05:30
Mrugesh Mohapatra e5590e56d7 chore: use pnpm v8 for deps (#49892)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-29 20:18:49 +05:30
renovate[bot] f0106207ee chore(deps): update github actions (#49842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-25 11:13:59 +05:30
renovate[bot] e0be65b2d3 chore(deps): update github actions 2023-03-18 07:37:14 +00:00
Oliver Eyton-Williams c5984e78e5 fix: only cache pnpm store once (#49662) 2023-03-11 01:10:18 +05:30
Oliver Eyton-Williams 14286f6f8b chore(.github): cache pnpm store (#49637)
💸
2023-03-10 12:08:40 +00:00
Oliver Eyton-Williams d7848ae01a feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-02 18:17:44 +00:00
Mrugesh Mohapatra 51217a62db fix: update github actions trigger configs (#49328) 2023-02-13 16:56:48 +05:30
Ahmad Abdolsaheb 21eb7c5e21 fix: allow cypress 3rd party TS config files (#49218) 2023-02-01 19:43:51 +05:30
renovate[bot] dca62c0430 chore(deps): update github actions (#48951)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-07 02:14:22 +00:00
Mrugesh Mohapatra 1d6e10c38c fix(ci): add node 18 build, test variants (#48117) 2022-12-19 20:29:50 +05:30
renovate[bot] 3d232a9d11 chore(deps): update github actions 2022-12-17 08:02:56 +00:00