Commit Graph

36 Commits

Author SHA1 Message Date
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
Oliver Eyton-Williams
391fc2e34d refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
renovate[bot]
3e1a793d38 chore(deps): update actions/upload-artifact digest to a8a3f3a 2023-09-07 00:57:44 +00:00
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
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
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
ad842f7f0c fix(actions,e2e): update spec formats (#49984) 2023-04-11 03:49:42 +05:30
Mrugesh Mohapatra
162336365b fix(e2e): update workflows and cypress configs (#49947)
* chore: bump cypress to v11

* fix: remove firefox downgrade

* fix: remove passing specs in the run-script
2023-04-05 08:33:22 -07:00
Mrugesh Mohapatra
db4e58fa7a fix(e2e): disable running on firefox temporarily (#49954) 2023-04-05 13:29:15 +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
pmelin
90d35945c1 chore(cypress): TS Migration: projects.ts, show-cert-from-superblock.ts and challenges.ts (#49635) 2023-03-10 07:41:25 +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
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
Sem Bauke
12fd5c4d32 feat: enable TypeScript for Cypress (#48701)
* feat: enable TypeScript for Cypress

* fix: run both js and ts in workflow
2022-12-10 17:12:42 +02:00
Shaun Hamilton
caf5dd72f9 chore(.github): disable tests on next-api, add label (#48435) 2022-11-09 00:27:50 +05:30
Mrugesh Mohapatra
cbaa88910e chore(ci): remove headless from cypress config (#48373) 2022-11-03 13:38:59 +05:30
Mrugesh Mohapatra
47244a33d4 fix: drop npm caches in CI (#48369) 2022-11-02 16:41:55 +05:30
Mrugesh Mohapatra
7cf61dae8d fix(actions): bump mongodb to 4.4 explicitly (#48362) 2022-11-01 16:11:56 +00:00
renovate[bot]
9968decbfd chore(deps): update github actions 2022-10-22 06:21:21 +00:00
renovate[bot]
a7295b38e0 chore(deps): update github actions to 93ea575 (#48062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 12:55:48 +00:00
Mrugesh Mohapatra
741732be54 refactor: rename workflow files (#48059)
* refactor: rename workflow files

* fix: temporarily disable the mobile workflow
2022-10-15 16:25:21 +05:30