* Fixes CI

* Fix client jest dependency
This commit is contained in:
Miguel de la Cruz 2023-06-15 09:45:54 +02:00 committed by GitHub
parent b8858c4582
commit 5d66883b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 921 additions and 989 deletions

View File

@ -42,16 +42,6 @@ jobs:
npm run mmjstool -- i18n clean-empty --webapp-dir ./src --mobile-dir /tmp/fake-mobile-dir --check
npm run mmjstool -- i18n check-empty-src --webapp-dir ./src --mobile-dir /tmp/fake-mobile-dir
rm -rf tmp
- name: ci/lint-boards
working-directory: webapp/boards
run: |
npm run i18n-extract
git --no-pager diff --exit-code i18n/en.json || (echo "Please run \"cd webapp/boards && npm run i18n-extract\" and commit the changes in webapp/boards/i18n/en.json." && exit 1)
- name: ci/lint-playbooks
working-directory: webapp/playbooks
run: |
npm run i18n-extract
git --no-pager diff --exit-code i18n/en.json || (echo "Please run \"cd webapp/playbooks && npm run i18n-extract\" and commit the changes in webapp/playbooks/i18n/en.json." && exit 1)
check-types:
runs-on: ubuntu-22.04

View File

@ -42,7 +42,7 @@ function loadRemoteModules() {
* Note that these import paths must be statically defined or else they won't be found at runtime. They
* can't be constructed based on the name of a product at runtime.
*/
const products: any[] = [ ];
const products: any[] = [];
await Promise.all(products.map(async (product) => {
if (!REMOTE_CONTAINERS[product.id]) {

1895
webapp/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -35,5 +35,8 @@
"test": "jest",
"test-ci": "jest --ci --forceExit --detectOpenHandles --maxWorkers=100%",
"clean": "rm -rf lib node_modules tsconfig.tsbuildinfo"
},
"devDependencies": {
"jest": "27.1.0"
}
}