Commit Graph

35 Commits

Author SHA1 Message Date
Niraj Nandish
12280fa02c
feat: enable TOP for mobile app (#55200) 2024-06-19 12:21:52 +05:30
Mrugesh Mohapatra
dabea4a904
chore: bump pnpm version 2024-05-18 17:23:23 +05:30
Niraj Nandish
bd1e5b5403
feat: migrate mobile learn test to playwright (#54686)
Co-authored-by: Naomi <nhcarrigan@gmail.com>
2024-05-07 13:49:36 -07:00
Oliver Eyton-Williams
e470765bc0
chore: housekeeping (update + pin actions etc.) (#54015) 2024-03-07 13:55:37 +00:00
renovate[bot]
d14e608c0a
chore(deps): update subosito/flutter-action digest to 2783a3f (#52216)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 12:01:38 +05:30
Niraj Nandish
40c5f5ca6a
fix: broken commands mobile doc (#51972) 2023-11-01 08:48:03 +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
Niraj Nandish
6bacf8c294
chore: upgrade flutter and dart version (#51939) 2023-10-13 03:26:14 +00:00
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
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
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]
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
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
Niraj Nandish
d06b65ff85
fix(actions): errors in mobile cypress action (#48612)
* action: update flutter version in action

* action: update cypress action version to v4

* fix: mobile cypress test file location
2022-12-02 14:21:22 +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
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