Commit Graph

357 Commits

Author SHA1 Message Date
renovate[bot]
88cc7fcbb4 chore(deps): update github actions 2023-07-22 14:50:45 +05:30
Oliver Eyton-Williams
7fd74c8f5c
fix(tools): manage PM2 globally 2023-07-17 16:45:37 +05:30
renovate[bot]
7c403697d8 chore(deps): update github actions 2023-07-15 12:38:19 +05:30
renovate[bot]
3b091e84b0 chore(deps): update github actions 2023-07-08 03:37:04 +00:00
renovate[bot]
f39d158431 chore(deps): update actions/labeler digest to 0967ca8 2023-07-01 03:10:46 +00:00
renovate[bot]
cacb748c06 chore(deps): update github/codeql-action digest to f6e388e 2023-06-24 03:46:09 +00:00
renovate[bot]
8fadb85dc6 chore(deps): update github/codeql-action digest to 6c089f5 2023-06-17 04:42:15 +00:00
Hillary Nyakundi
828bdb1771
feat: swahili workflow update (#50677) 2023-06-13 16:36:06 +09: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]
7ecd1129e0 chore(deps): update github/codeql-action digest to 83f0fe6 2023-06-03 04:15:15 +00:00
renovate[bot]
bfbbc350db chore(deps): update github actions 2023-05-27 04:42:12 +00:00
Naomi Carrigan
389e83796d
fix(tools): deduplicate workflows (#50520) 2023-05-26 15:07:38 +05:30
renovate[bot]
d63db59a93 chore(deps): update github/codeql-action digest to 29b1f65 2023-05-06 04:04:55 +00:00
Naomi Carrigan
b45aadca54
chore: codesee ignores gitignore (#50264) 2023-05-03 16:38:11 +00:00
renovate[bot]
809e00bcfe chore(deps): update github/codeql-action digest to f3feb00 2023-04-29 06:12:36 +00:00
renovate[bot]
6c49a698a3 chore(deps): update github/codeql-action digest to b2c19fb 2023-04-22 12:35:00 +00:00
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
renovate[bot]
e1dd1a5726 chore(deps): update github actions 2023-04-08 07:15:40 +00:00
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
renovate[bot]
506257ad12 chore(deps): update github/codeql-action digest to 04df126 2023-04-01 16:08:11 +00:00
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
Mrugesh Mohapatra
496235c4ad
chore: drop the knip workflow (#49768) 2023-03-20 17:06:10 +05:30
renovate[bot]
e0be65b2d3 chore(deps): update github actions 2023-03-18 07:37:14 +00:00
Oliver Eyton-Williams
c498c06259
fix(deps): add missing dependencies + fix knip (#49691)
* refactor: use pnpm dlx over npx

* fix: create config before running knip

* chore: fix challenge-parser dependencies

* chore: add missing client + plugin dependencies

* chore: pin deps
2023-03-13 19:38:19 +05:30
renovate[bot]
a88b97c5b3
chore(deps): update github actions (#49669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 07:24:56 +02: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
renovate[bot]
a0f0294645 chore(deps): update codesee-io/codesee-action digest to ab0fd09 2023-02-26 18:47:13 +00:00
renovate[bot]
c8606ec6f9
chore(deps): update github/codeql-action digest to 32dc499 (#49502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-25 11:03:41 +05:30
renovate[bot]
d941153be8
chore(deps): update actions/github-script digest to 98814c5 (#49420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 08:17:11 -08:00
Mrugesh Mohapatra
51217a62db
fix: update github actions trigger configs (#49328) 2023-02-13 16:56:48 +05:30
renovate[bot]
d7787eb0cc
chore(deps): update github/codeql-action digest to 17573ee (#49338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 07:30:19 +00:00
Ahmad Abdolsaheb
21eb7c5e21
fix: allow cypress 3rd party TS config files (#49218) 2023-02-01 19:43:51 +05:30
renovate[bot]
870c415177 chore(deps): update github/codeql-action digest to 3ebbd71 2023-01-28 05:03:50 +00:00
Muhammed Mustafa
a1c38b0ff5
feat(workflow): create update license yearly action (#49115) 2023-01-23 15:37:44 +01:00
renovate[bot]
2d35341dbb chore(deps): update github/codeql-action digest to a34ca99 2023-01-21 04:23:17 +00:00
renovate[bot]
becedc8c54
chore(deps): update github/codeql-action digest to 515828d (#49024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-14 12:52:00 +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
Oliver Eyton-Williams
c8be10ca77
chore: make too many lockfiles error more explicit (#48748) 2022-12-13 21:43:53 +04: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
renovate[bot]
4ef8ada35c chore(deps): update github/codeql-action digest to a669cc5 2022-12-10 09:42:15 +00:00
Daniel C. Silverstein
0871341c9c
chore(tools/scripts): Upgrade CodeSee workflow to version 2 (#48694)
Update the CodeSee workflow file to latest version.
2022-12-09 09:25:21 +05:30
renovate[bot]
d1d8973085 chore(deps): update github actions 2022-12-03 05:17:25 +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
renovate[bot]
141c18c35b chore(deps): update github/codeql-action digest to 312e093 2022-11-26 03:57:23 +00:00
renovate[bot]
10c2ac8df3 chore(deps): update github/codeql-action digest to 678fc3a 2022-11-19 04:37:35 +00:00
renovate[bot]
719e360ec2
chore(deps): update github actions 2022-11-14 12:58:02 +05:30
Shaun Hamilton
caf5dd72f9
chore(.github): disable tests on next-api, add label (#48435) 2022-11-09 00:27:50 +05:30
renovate[bot]
733e3645be chore(deps): update github/codeql-action digest to 9e288b0 2022-11-05 03:25:59 +00:00
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]
16adbfde85 chore(deps): update github/codeql-action digest to aacfdb2 2022-10-29 04:41:12 +00:00
renovate[bot]
9968decbfd chore(deps): update github actions 2022-10-22 06:21:21 +00:00
Oliver Eyton-Williams
6f5b372f75
chore: add knip to ci (#48149)
* chore: add knip to ci

* DEBUG: checking things fail

* refactor: split into separate workflow

* fix: restrict to node 16

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

* feat: run on schedule only

* Revert "DEBUG: checking things fail"

This reverts commit b8b4fe1bb2.

* chore: rename file & name

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
2022-10-21 16:15:15 +05:30
Muhammed Mustafa
130634d0ad
feat(crowdin): add arabic language to download workflow (#48127)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-10-20 03:21:18 +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
0937ed131e chore: drop extraneous file 2022-10-15 16:45:54 +05:30
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
Naomi Carrigan
a6d84a7041
chore(tools): download untranslated files (#48046) 2022-10-15 14:34:35 +05:30
Niraj Nandish
441f11db38
feat: mobile curriculum testing (#47586)
* feat: first draft of action and cypress spec

* feat: test all generated challenges

* fix: better identification of block

* action: update cypress config

* action: upload to dashboard

* action: testing js cert challenges

* fix: unnecessary after user code for Make a Person

* feat: capture console log output for assert test

* fix: remove after seed code

* fix: change const to let

* fix: test

* action: disable js certification

* action: stop checking out branch in action

* action: check out right mobile repo

Co-authored-by: sembauke <semboot699@gmail.com>
2022-10-14 16:57:34 -07:00
Naomi Carrigan
035b475500
fix: lint only the curriculum for curriculum PRs (#48045) 2022-10-15 01:35:39 +05:30
Mrugesh Mohapatra
4f005bf3e2
fix(actions): create crowdin PRs only if they lint (#48023) 2022-10-14 12:44:32 +05:30
Oliver Eyton-Williams
1459bc6879
chore: only run one spec with electron (#47998) 2022-10-12 21:38:08 +05:30
Mrugesh Mohapatra
4e3ce1e7d3
fix(e2e): reduce load on the CI (#47997) 2022-10-12 16:58:58 +05:30
Niraj Nandish
0214eb2488
feat: cypress 10 (#47886)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-10-11 18:40:25 +05:30
Naomi Carrigan
95a724e153
fix: cypress third-party ignore docs (#47940) 2022-10-09 07:14:07 +02:00
renovate[bot]
345095d2c8 chore(deps): update actions/labeler digest to 5c75392 2022-10-08 06:34:38 +00:00
renovate[bot]
830885b9bd chore(deps): update github/codeql-action digest to 2eeff7b 2022-10-08 03:17:23 +00:00
Oliver Eyton-Williams
977911bf84
fix(autoclose): get the files before counting them (#47898) 2022-10-07 12:58:10 +00:00
Naomi Carrigan
a0ffc91aa0
feat: more aggressive autoclose on .gitignore (#47885) 2022-10-07 14:20:45 +05:30
Tom
5a6dc43fed
test: crowdin client downloads (#47839) 2022-10-04 18:17:47 -05:00
Tom
60fd6716b2
test: pretty i18n files on download (#47835) 2022-10-04 15:36:53 -05:00
Oliver Eyton-Williams
fda0322b98
fix: sudo enable writes to locale files (#47832) 2022-10-04 10:17:30 -07:00
Oliver Eyton-Williams
3786af93d9
fix: enable writes to locale files before format (#47823) 2022-10-05 00:15:08 +09:00
Naomi Carrigan
3518d15d50
feat: spam automation (#47811)
* fix(tools): invalid -> spam

* feat: comment on spam

* chore: job name

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2022-10-04 00:04:09 +01:00
renovate[bot]
59aa1a252d chore(deps): update github/codeql-action digest to 64b7bbc 2022-10-01 20:09:26 +00:00
renovate[bot]
e742ff1032 chore(deps): update actions/setup-node digest to 969bd26 2022-10-01 16:26:31 +00:00
renovate[bot]
9e22c437a5 chore(deps): update actions/setup-java digest to a18c333 2022-10-01 12:54:51 +00:00
renovate[bot]
24e51e33a9 chore(deps): update actions/github-script digest to 7dff1a8 2022-10-01 03:34:44 +00:00
renovate[bot]
0a39741d80 chore(deps): update github/codeql-action digest to f630e9a 2022-09-24 04:40:35 +00:00
Naomi Carrigan
608583bfbc
feat(tools): run prettier on JSON (#47595) 2022-09-23 11:57:42 +05:30
Naomi Carrigan
1204faf641
fix(tools): silence the bot (#47585) 2022-09-22 22:04:49 +05:30
renovate[bot]
d471d47a0e chore(deps): update github/codeql-action digest to 83007bb 2022-09-17 06:04:27 +00:00
Oliver Eyton-Williams
ea8ffd386e
fix: download ram more often (#47524) 2022-09-15 11:22:59 -07:00
Naomi Carrigan
f9f9cae7e9
fix(tools): download more ram (#47508) 2022-09-13 09:41:49 +02:00
renovate[bot]
72314fe5a6 chore(deps): update actions/setup-java digest to d854b6d 2022-09-10 11:20:48 +00:00
renovate[bot]
af224577a9 chore(deps): update actions/labeler digest to 2f7477e 2022-09-10 02:57:47 +00:00
renovate[bot]
103cdb3405 chore(deps): update github/codeql-action digest to 7cce9bb 2022-09-03 13:18:20 +00:00
renovate[bot]
76a56c39d1 chore(deps): update github/codeql-action digest to d5cec09 2022-08-27 05:14:39 +00:00