Commit Graph

212 Commits (2f103e8ee8c3d52c44deb94341ea4e27aa561f62)

Author SHA1 Message Date
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
Nicholas Carrigan (he/him) 557b689b79
feat: enable ukrainian downloads (#44443) 2021-12-09 15:58:00 -06:00
Nicholas Carrigan (he/him) 88524556e7
chore: remove hacktoberfest comment (#44442) 2021-12-09 11:43:57 -06:00
Mrugesh Mohapatra c9faf384b0
chore: exclude actions from changes to docs (#44412)
* chore: exclude actions from changes to docs

* fix(actions): Node.js flows needed for merge :(

* chore: apply suggestions from code review

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* chore: apply suggestions from code review

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-08 19:12:07 +05:30
Mrugesh Mohapatra c5fbfb84e1
fix(actions): run fewer workflows (#44375)
* fix(actions): remove run CodeQL from bots

* fix(actions): cosmetic renaming to the files
2021-12-03 16:24:00 +00:00
Oliver Eyton-Williams 9c078ab5d2
fix: update npm calls to handle workspaces (#44370)
* fix: use workspaces for crowdin npm ci

* fix: update server.Dockerfile to use workspaces

* fix: update client.Dockerfile to use workspaces
2021-12-03 20:06:08 +05:30
Mrugesh Mohapatra 4574e4e81d chore: update all workflows to Node.js v16 2021-11-03 15:06:19 +05:30
Mrugesh Mohapatra a695f744e2
chore(actions): update mongodb in cypress workflow (#44098) 2021-11-02 22:23:06 +05:30
Mrugesh Mohapatra 9c5104602f
chore(actions): bump Node.js to v16 in codesee workflow (#44094) 2021-11-02 17:27:31 +05:30
Mrugesh Mohapatra f84d6078fd
chore(actions): use Ubuntu-20.04 in all workflows (#44095) 2021-11-02 17:19:50 +05:30
Nicholas Carrigan (he/him) 499baa0422
fix(tools): no comment for staff (#44004)
fix(tools): no comment for staff
2021-10-26 10:30:38 +05:30
Oscar Dominguez 93ad0ae036
ci(workflow): add cache to workflows using actions/setup-node (#43830) 2021-10-13 13:04:58 +05:30
Grayson Hay 9b3a8e6bcf
fix(tools): 👷 update CodeSee workflow to now work with PRs from forks (#43816)
* 👷 CodeSee now works with PRs in forks

This change updates the CodeSee Architecture Diagram workflow to enable PR diagrams from forks.

* Adds back in the run condition

Missed this bit when I was copying over the updated template, adding it back in.

* Ran prettier on the workflow file
2021-10-12 17:26:04 +01:00
Oliver Eyton-Williams c8d7f0a782
feat(tools): remove eslint-plugin-prettier for prettier (#42438)
* feat: remove eslint-plugin-prettier for prettier

This removes the annoying lint warnings when all that needs to change is
formatting

* fix: use .js lint-staged config to ignore properly

* fix: lint everything if a lot of files are changed

It's faster than making lots of individual linter calls

* chore: apply prettier

* fix: ignore code in curriculum-file-structure
2021-10-06 21:02:21 +05:30
Nicholas Carrigan (he/him) da9725acd4
fix(tools): apply invalid label (#43684) 2021-10-02 14:02:33 -07:00
Nicholas Carrigan (he/him) ea7acba786
fix(tools): translation workflow (#43666) 2021-10-01 23:02:20 +05:30
renovate[bot] 3e1369f892
chore(deps): update actions/github-script action to v5 (#43648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 12:32:40 +05:30
Nicholas Carrigan (he/him) 02ffd4eee6
docs: add hacktoberfest note (#43645) 2021-10-01 07:55:27 +05:30
Nicholas Carrigan (he/him) d3beb6e370
feat(actions): autoclose workflow (#43644) 2021-10-01 07:54:59 +05:30
Nicholas Carrigan (he/him) f00edd6a3a
fix(tools): different condition for codesee-maps (#43558) 2021-09-24 09:08:25 -07:00
Nicholas Carrigan (he/him) 2abc2f6473
chore(tools): ignore i18n branches (#43557) 2021-09-24 19:21:54 +05:30
Nicholas Carrigan (he/him) d98ddebf0d
feat(docs): enable japanese docs (#43523) 2021-09-22 06:02:42 +05:30
Shaun Hamilton 2949fb0d53
feat(actions): remove codesee map from renovate prs (#43506) 2021-09-21 09:58:24 +02:00
codesee-architecture-diagrams[bot] ff0c8bf57a
Add CodeSee architecture diagram workflow to repository (#43501)
Co-authored-by: codesee-architecture-diagrams[bot] <86324825+codesee-architecture-diagrams[bot]@users.noreply.github.com>
2021-09-20 17:28:39 +02:00
Nicholas Carrigan (he/him) 3ed507a817
fix: unhide this string (#43292)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-26 08:32:10 +05:30
Oliver Eyton-Williams 45a2564dcf
test: build client once and use in Cypress jobs (#43301) 2021-08-25 09:18:31 -07:00
Oliver Eyton-Williams d161998acc
test: check that JS projects can be submitted. (#43222)
* test: check that JS projects can be submitted.

* refactor: remove stale workflow comments

* refactor: remove redundant build

* chore: update Cypress version in CI

* test: create separate electron-only workflow

* test: put data-cy on correct button

* test: drop mailhog from electron CI

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* refactor: update differences comment

* test: separate toggling from logging in

* test: check solutions can be viewed on cert

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-08-24 20:26:48 +02:00
Shaun Hamilton c2a11ad00d
feat: add 'back/front end' in curriculum (#42596)
* chore: rename APIs and Microservices to include "Backend" (#42515)

* fix typo

* fix typo

* undo change

* Corrected grammar mistake

Corrected a grammar mistake by removing a comma.

* change APIs and Microservices cert title

* update title

* Change APIs and Microservices certi title

* Update translations.json

* update title

* feat(curriculum): rename apis and microservices cert

* rename folder structure

* rename certificate

* rename learn Markdown

* apis-and-microservices -> back-end-development-and-apis

* update backend meta

* update i18n langs and cypress test

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* fix: add development to front-end libraries (#42512)

* fix: added-the-word-Development-to-front-end-libraries

* fix/added-the-word-Development-to-front-end-libraries

* fix/added-word-development-to-front-end-libraries-in-other-related-files

* fix/added-the-word-Development-to-front-end-and-all-related-files

* fix/removed-typos-from-last-commit-in-index.md

* fix/reverted-changes-that-i-made-to-dependecies

* fix/removed xvfg

* fix/reverted changes that i made to package.json

* remove unwanted changes

* front-end-development-libraries changes

* rename backend certSlug and README

* update i18n folder names and keys

* test: add legacy path redirect tests

This uses serve.json from the client-config repo, since we currently use
that in production

* fix: create public dir before moving serve.json

* fix: add missing script

* refactor: collect redirect tests

* test: convert to cy.location for stricter tests

* rename certificate folder to 00-certificates

* change crowdin config to recognise new certificates location

* allow translations to be used

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* add forwards slashes to path redirects

* fix cypress path tests again

* plese cypress

* fix: test different challenge

Okay so I literally have no idea why this one particular challenge
fails in Cypress Firefox ONLY. Tom and I paired and spun a full build
instance and confirmed in Firefox the page loads and redirects as
expected. Changing to another bootstrap challenge passes Cypress firefox
locally. Absolutely boggled by this.

AAAAAAAAAAAAAAA

* fix: separate the test

Okay apparently the test does not work unless we separate it into
a different `it` statement.

>:( >:( >:( >:(

Co-authored-by: Sujal Gupta <55016909+heysujal@users.noreply.github.com>
Co-authored-by: Noor Fakhry <65724923+NoorFakhry@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-13 21:57:13 -05:00
Huyen Nguyen 20c458bfe7
chore: update issue templates (#42999) 2021-07-25 22:56:49 +05:30
Nicholas Carrigan (he/him) 2623148783
feat: update funding.yml (#42709) 2021-07-03 15:46:56 -05:00
Mrugesh Mohapatra 0a0caf18ae
fix(actions): use inbuilt cache with setup-node (#42730) 2021-07-03 14:09:25 +01:00
Ilenia 1a8d705226
feat(i18n): enable italian contributing documentation (#42662)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-06-29 11:12:37 +05:30
Nicholas Carrigan (he/him) 643f34fe3a
feat(tools): hide string action (#42547)
Create an action that allows us to hide a specific string during
the crowdin upload process.
2021-06-17 23:54:56 +05:30
Mrugesh Mohapatra 3130265991
revert: (test, e2e) test suit for cypress (#42488)
This reverts commit 22b45761a7.
2021-06-14 23:44:43 +05:30
Nicholas Carrigan (he/him) c2326741a8
feat(tools): add languages (#42484) 2021-06-14 19:07:21 +02:00
Sem Bauke 22b45761a7
feat(test, e2e) test suit for cypress (#42138)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-14 22:07:52 +05:30
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
Eric Leung 7c8b0fcf08
chore: separate News articles issue template (#42372)
Updates to News articles are resolved by sending emails to the editorial
team. This commit reflects this decision in creating a distinct link
about News articles and removing mention of it in an existing issue.

Mail link was created using https://mailxto.com/.
2021-06-08 08:25:50 +02:00
Mrugesh Mohapatra b1eeb0fb11
docs: update PR template (#42210)
* docs: update PR template

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-22 07:23:56 -07:00
Oliver Eyton-Williams de40fe86e9
test(e2e): more settings tests (#42046) 2021-05-07 07:30:38 -07:00
Mrugesh Mohapatra 6ea518c402
fix(CI): remove underused lighthouse CI (#42027) 2021-05-06 16:17:10 +00:00
Mrugesh Mohapatra 411ce3002c
fix(code-ql): update code-ql action (#42010) 2021-05-06 10:03:34 +05:30
Mrugesh Mohapatra ccdea0c727
fix(cypress): remove parallel runs (#42011)
* fix(cypress): remove parallel runs

* chore: apply review comments

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* chore: apply review comments

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-05-06 10:03:06 +05:30
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
Nicholas Carrigan e46e80e08f feat(client): add chinese traditional
Add chinese traditional to the all-langs validation and necessary
client build configs.
2021-05-05 21:06:54 +05:30
Oliver Eyton-Williams e7156dcc9e
feat: generate Webpack stats in CI (#41993) 2021-05-05 14:32:22 +00:00
Mrugesh Mohapatra 9e992a32a2
chore: update issue templates (#41892)
* chore: update issue templates

* chore: apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-04-22 10:14:35 -05:00
renovate[bot] 824d5f9fdf
chore(deps): update actions/github-script action to v4 (#41885)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 19:33:08 +05:30
renovate[bot] 2f736f7f8e
chore(deps): update dependency cypress to v7 (#41838)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 13:05:00 +05:30