Commit Graph

130 Commits (6d8d18ef1bf26b138a3801dbefaf33df2dfad2fe)

Author SHA1 Message Date
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) 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
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
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
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
Sem Bauke 1f9166922c
feat(Cypress): enabling parallelization Cypress (#41782)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-09 06:14:45 +02:00
Nicholas Carrigan (he/him) d1c800879c
fix(tools): multiple workflow fixes (#41763) 2021-04-08 11:30:29 +05:30
Nicholas Carrigan (he/him) b0c75eae60
feat(tools): use camperbot for commit (#41659) 2021-04-02 17:46:00 +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
Oliver Eyton-Williams 1e992546ae
fix(i18n): only reject changed challenge md files (#41674)
The existing action is overzealous and catches the meta.json files.
2021-03-30 12:11:14 -05:00
Mrugesh Mohapatra 41577b818c
chore: remove approval workflow (#41650) 2021-03-29 16:49:12 +05:30
Nicholas Carrigan (he/him) 26228279d1
fix(tools): new token (#41611)
Use the newer camperbot token.
2021-03-27 10:12:40 +05:30
Mrugesh Mohapatra 0ba8274066
fix(actions): update workflows, add auto-approval (#41591)
* fix(actions): update workflows, add auto-approval

* fix: apply suggestions from code review

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

* fix: 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-03-26 12:52:44 -07:00
Mrugesh Mohapatra ca6cb07838
chore(ci): deprecate node 12 (#41585) 2021-03-26 17:07:02 +05:30
Nicholas Carrigan (he/him) 8305cad79a
fix: address crowdin issues (#41517) 2021-03-18 16:31:05 +01:00
Mrugesh Mohapatra 917a9d2643
chore: delete housekeeping workflows (#41487)
Latest changes enforced by GitHub prevents using the action in dependabot's PR's context. See: https://github.com/ahmadnassri/action-dependabot-auto-merge/issues/60, https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions

Regardless of the above we also moved to needing atleast two approvals

Removing this workflow for now.
2021-03-15 05:04:54 -06:00
Randell Dawson 50369edd12
feat(tools): Add a PR labeler action to the repo (#41458) 2021-03-13 22:14:19 +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