Commit Graph
52 Commits
Author SHA1 Message Date
zkldi 9f85cf64cd fix: add a typecheck step after testing.
This ensures that what we end up with compiles. It's possible for all of
our tests to work, but the app pulls in some benign
file that accidentally downs the whole thing

This should stop that from ever happening.
2022-06-01 15:30:28 +01:00
zkldi 883216bff8 Revert "fix(ci): use pnpm ci instead of pnpm install"
PNPM doesn't have a ci command, and we're already using
frozen-lockfiles. My bad.

This reverts commit 99aed6410d.
2022-06-01 14:17:11 +01:00
zkldi 99aed6410d fix(ci): use pnpm ci instead of pnpm install 2022-06-01 14:09:59 +01:00
zkldi 29cbe7fe02 Revert test-build-deploy.yml to only run tests on PRs or direct commits. 2021-11-23 02:01:36 +00:00
ereti d47789508b Update test-build-deploy.yml 2021-11-22 18:55:25 +00:00
ereti febc5eefad Update test-build-deploy.yml 2021-11-22 18:54:54 +00:00
ereti 0db778630c run tests on all branches 2021-11-22 18:54:16 +00:00
zkldi 2cbce09112 Change the arrangement of CDN from /users/(banner|pfp)/userID to /users/userID/(banner|pfp). 2021-11-12 18:38:33 +00:00
ereti dd201c70d9 Change :latest to :develop 2021-11-09 17:24:28 +00:00
zkldi d1143ce586 Explicitly set NODE_ENV to test in the test actions 2021-11-02 20:54:22 +00:00
ereti 4f7a670285 Update test-build-deploy.yml 2021-11-01 03:52:04 +00:00
ereti 4e208fdb8b Go back to github-hosted runner 2021-10-29 00:40:29 +01:00
ereti 9e1f89f1ad Temporarily use a self-hosted runner to see the performance 2021-10-28 21:31:56 +01:00
ereti 1d2aeea461 Allow manual running of workflow 2021-10-28 19:19:35 +01:00
ereti b2e77e5e0d Update test-build-deploy.yml 2021-10-28 03:18:30 +01:00
ereti f1549ab563 Update test-build-deploy.yml 2021-10-28 03:16:18 +01:00
ereti 234db1c033 Update and rename tests.yml to test-build-deploy.yml 2021-10-28 03:11:32 +01:00
zkldi 1ac967f492 Make CDN_FILE_ROOT an environment variable 2021-10-23 01:31:52 +01:00
zkldi bbd8e686aa Move certain properties to environment variables from conf.json5 2021-10-23 01:11:36 +01:00
zkldi 7b4d7ba877 CodeQL is not very good. 2021-09-04 13:19:42 +01:00
zkldi 9868816c4d Add codeql config file 2021-09-04 10:46:20 +01:00
zkldi fbc3a71408 Enable CodeQL 2021-09-04 10:39:07 +01:00
zkldi b79804d273 Fixing Random Test Failure (#309)
* Test 1: Async Wrapping

* Revert "Test 1: Async Wrapping"

This reverts commit 8f0e0d283686d367e18275684cc7858af0538515.

* Pin github actions node version to the same as ours

* Revert "Pin github actions node version to the same as ours"

This reverts commit 3758ee05ef5647f608ef3fd1c85b88eb97e3f077.

* Move lint step to after running tests

* add a NO_CONSOLE config option

* temporarily set log level to debug

* Enable more mongodb logging in testing

* Experimentally bundle before script into SPT.

* run without any before

* Revert "Experimentally bundle before script into SPT."

* Revert "Enable more mongodb logging in testing"

This reverts commit c11f918c850dc53cb49b262cb0b51141ac132aab.

* Fix missing import

* Re add the mongodb logging

* Set LOG_LEVEL back to reasonable levels

* Increase timeouts for mongo and redis connections

* Change how codecov works

* Use ServerSelectionTimeoutMS instead of connect

* pls?

* Bump TAP Timeout to 4 minutes, which we'll probably never hit.
2021-09-01 06:26:37 +01:00
zkldi 6ad68d80ae change how conf.json5 works for tests 2021-07-21 16:48:37 +01:00
zkldi 0628266c3e rename fulltest to just test 2021-06-26 01:14:31 +01:00
zkldi 2ac77d22af remove parallel testing... 2021-06-25 21:57:55 +01:00
zkldi 89190fcbbc fix typo in mv 2021-06-08 14:48:48 +01:00
zkldi a1c2ef1a3c Move config file 2021-06-08 14:45:12 +01:00
zkldi 9b0c7f08bf Figure out config and CI updates 2021-06-08 14:41:04 +01:00
zkldi 920defad3f fix lack of KTCDN_ROOT in tests.yml 2021-06-08 10:55:10 +01:00
zkldi 8da47f454b Fix #157 again. 2021-06-01 22:14:21 +01:00
zkldi c87117f73b add KTBSV_ARC_AUTH_TOKEN to CI yaml 2021-06-01 20:17:22 +01:00
zkldi 9d5bfe67b7 change NYC to c8 Fixes #157 2021-06-01 13:51:27 +01:00
zkldi 0c4a72fb47 bump github node v to 16 2021-06-01 13:45:13 +01:00
zkldi 7c0a1c7541 secure on urls that dont exist lmfao 2021-06-01 12:36:19 +01:00
zkldi 4b0060b879 change API_URLs in the test runner 2021-06-01 12:13:42 +01:00
zkldi a1c54ad26f Fixes #147 2021-05-31 12:10:53 +01:00
zkldi c926de8655 Rename staging to develop 2021-05-26 11:45:42 +01:00
zkldi 5929839a05 rename KTBKS to KTBSV 2021-05-26 11:40:49 +01:00
zkldi 066ef22bb9 add staging to the ci workflow 2021-05-26 11:17:59 +01:00
zkldi 0502101585 more codecov altering 2021-05-26 09:56:35 +01:00
zkldi c899aa46ad always upload coverage 2021-05-26 09:29:04 +01:00
zkldi 0dac8af1b2 ts-node ?? 2021-05-26 09:00:53 +01:00
zkldi 8e287c8ff5 more CI/CD testing 2021-05-26 08:57:27 +01:00
zkldi 81ffede4f5 document and modify node.js.yml 2021-05-25 22:04:28 +01:00
zkldi 59bcc5bf30 Fix invalid URL in node.js.yml 2021-05-25 21:50:01 +01:00
zkldi 6e63b748b8 add database externalities 2021-05-25 21:38:28 +01:00
zkldi c09f54ede0 env tests 2021-05-25 21:35:04 +01:00
zkldi 6feb84cb19 its not called pnpm ci 2021-05-25 21:08:39 +01:00
zkldi 0b839626d3 poke again 2021-05-25 21:07:43 +01:00