Commit Graph

93 Commits

Author SHA1 Message Date
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
Tom
00ca2b1c7e fix: i18n node tests (#62785)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-10-14 22:02:49 +05:30
Mrugesh Mohapatra
ed116264e4 fix(gha): disable i18n nodejs tests (#62106) 2025-09-09 10:38:51 -05: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
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
Oliver Eyton-Williams
232f6d50aa refactor: remove SHOW_NEW_CURRICULUM (#57977) 2025-01-07 10:17:05 +00:00
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
Oliver Eyton-Williams
7e3e6fac9d chore: stop showing new curriculum by default (#55660) 2024-07-25 07:45:02 -07:00
Tom
302d2b9f60 chore(tools): remove duplicate actions - always test using submodule (#55628) 2024-07-24 19:06:16 +02:00
Oliver Eyton-Williams
5820d73b3a ci: get chrome version tied to puppeteer version (#55536) 2024-07-17 08:47:58 -07:00
Oliver Eyton-Williams
a78e980cea ci: re-enable pnpm caching (#55438) 2024-07-08 09:07:41 -07:00
Oliver Eyton-Williams
925fcab997 chore(deps): update puppeteer (#55427) 2024-07-08 07:53:46 +02:00
Mrugesh Mohapatra
1a51bb072a fix(node): set memory to 8 GiB for tests (#55193) 2024-06-14 09:32:09 -05:00
Naomi
dda4bb9d6a chore: remove duplicated build steps (#55186) 2024-06-14 14:11:31 +05:30
Sem Bauke
fde6a505fd chore: delete web directory and curriculum server (#55071) 2024-06-04 12:34:58 +02:00
Mrugesh Mohapatra
dabea4a904 chore: bump pnpm version 2024-05-18 17:23:23 +05:30
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
Oliver Eyton-Williams
cdc9b006be chore(CI): add separate prettier --check step (#51753) 2023-10-25 00:19:16 +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
1119c21d44 chore: remove redundant job (#51543) 2023-09-13 07:26:39 -07:00
Oliver Eyton-Williams
391fc2e34d refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Mrugesh Mohapatra
bd48d21776 fix(CI): switch checks high progress langs (#51415) 2023-08-28 21:23:54 +05:30
Mrugesh Mohapatra
2c37e18c7a fix(CI): adjust job queue and remove wasteful runs (#51404)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-08-28 16:48:51 +05:30
Mrugesh Mohapatra
f1ccccfee6 chore: rename workflow name 2023-08-27 17:49:33 +05:30
Mrugesh Mohapatra
cf4995fa83 fix: add build jobs to CI to make renovate behave (#51401) 2023-08-27 16:27:27 +05:30
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
renovate[bot]
e97abd2a4e chore(deps): update github actions 2023-08-12 13:19:53 +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
Naomi Carrigan
389e83796d fix(tools): deduplicate workflows (#50520) 2023-05-26 15:07:38 +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
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
Naomi Carrigan
1d616c733b feat(.github): comment on i18n failure (#49746)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-24 07:14:06 +00:00
Oliver Eyton-Williams
a0f958189e chore: update api test suite and include it in run test (#49794) 2023-03-23 16:57:11 +00:00
renovate[bot]
e0be65b2d3 chore(deps): update github actions 2023-03-18 07:37:14 +00:00
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
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