Commit Graph

22 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
7216ca55cc refactor: organise TypeScript config and migrate helpers (#44747)
* feat: allow more 1000 steps to be created at once

* refactor: start migrating to typescript

* refactor: delete-step to ts

* refactor: migrated some helpers

* refactor: migrate create-empty-steps

* refactor: migrate create-step-between

* refactor: finish migrating to TS

* refactor: migrate tests

* fix: ensure mock.restore is done after each test

* fix: prevent double-tscing

* fix: repair the tests

* chore: use ts-node for scripts

We don't need the performance boost of incremental compilation and
ts-node is easier to work with

* refactor: consolidate tsconfigs

* refactor: replace gulp

* fix: use ts-node for build-curriculum

* fix: allow ts compilation of config

* feat: create and use create:config script

* fix: add /config to eslint projects

* fix: remove gulp script
2022-01-25 11:34:16 +01:00
Oliver Eyton-Williams
36363f277d test: enable tests for steps (#44550)
* fix: handle missing solutions correctly

Rather than creating an [[]] the parser now creates [] which isEmpty().
This makes the test suite check the next challenge for a solution.

In addition, the logic for testing solutions was fixed.

* chore: update snapshots

* test: build new superblock in node.js-tests CI

* test: allow forward slash in superblock slug

* fix: borked tests oops

* test: ignore duplicated projects

* fix: i did not break these shaun did :)

* fix: idIndex is index of id not id

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-22 12:18:06 -08:00
Oliver Eyton-Williams
48f88428e8 test: login more directly (#44467)
* test: login more directly

* test: separate login from other visits

In a single test, Cypress can only visit within a single domain, hence
the separation.

* chore: fail slowly for all strategies

* test: user certified user for showing cert

* test: fix and cleanup certifications
2021-12-11 14:34:16 +05:30
Mrugesh Mohapatra
4574e4e81d chore: update all workflows to Node.js v16 2021-11-03 15:06:19 +05:30
Mrugesh Mohapatra
f84d6078fd chore(actions): use Ubuntu-20.04 in all workflows (#44095) 2021-11-02 17:19:50 +05:30
Oscar Dominguez
93ad0ae036 ci(workflow): add cache to workflows using actions/setup-node (#43830) 2021-10-13 13:04:58 +05:30
Mrugesh Mohapatra
0a0caf18ae fix(actions): use inbuilt cache with setup-node (#42730) 2021-07-03 14:09:25 +01:00
Oliver Eyton-Williams
c69a1cb483 test: enable testing for upcoming challenges (#42360)
* test: enable testing for upcoming challenges

* fix: enable SHOW_UPCOMING_CHANGES during test

* Revert "fix: enable SHOW_UPCOMING_CHANGES during test"

This reverts commit f1bd00fdba.

* Revert "test: enable testing for upcoming challenges"

This reverts commit d0409fef66.

* feat: test upcoming changes in separate job
2021-06-08 16:57:27 +01:00
Nicholas Carrigan (he/him)
4ed75cb79f fix(tools): ignore renovate (#42008)
Ignore the branches renovate creates for the push events.
2021-05-06 00:20:38 +05:30
Oliver Eyton-Williams
275e12ba80 tools: test all languages in CI (#41512)
* tools: test all languages in CI

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-01 06:20:43 -07:00
Mrugesh Mohapatra
275b17a414 fix(actions): remove node 12 - diligently this time (#41682) 2021-03-31 10:09:15 +02:00
Mrugesh Mohapatra
ca6cb07838 chore(ci): deprecate node 12 (#41585) 2021-03-26 17:07:02 +05:30
Mrugesh Mohapatra
b0bfc00f21 fix(actions): update workflow matrices & docs
This commit intentionally adds a matrix to keep supporting Node.js 12
while we evaluate it
2021-03-11 12:19:42 +05:30
Mrugesh Mohapatra
b5f4754e2a fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-25 12:02:35 -08:00
Oliver Eyton-Williams
b73022c81b fix: make missing scripts fail linting/testing (#41260)
If a script is not present, we would like an error letting us know.
2021-02-25 20:06:01 +05:30
Mrugesh Mohapatra
8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Oliver Eyton-Williams
c077ffe4b9 feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Mrugesh Mohapatra
eab14b8235 fix(CI): update runner, display .env for upcoming (#39808) 2020-10-07 16:20:59 +05:30
Mrugesh Mohapatra
3ac415154c chore(actions): cache dependencies 2020-09-25 00:37:40 +05:30
Mrugesh Mohapatra
6e16a50329 fix(tools): fix syntax errors and test special branch 2020-08-09 01:44:36 +05:30
Mrugesh Mohapatra
e242852bef fix(tools): misc. updates to action workflows 2020-08-09 00:58:13 +05:30
Mrugesh Mohapatra
5c60070cc5 fix(tools): add node.js CI tests 2020-08-09 00:56:22 +05:30