* Fixes CI

* Fix client jest dependency
Этот коммит содержится в:
Miguel de la Cruz
2023-06-15 09:45:54 +02:00
коммит произвёл GitHub
родитель b8858c4582
Коммит 5d66883b04
4 изменённых файлов: 921 добавлений и 989 удалений

10
.github/workflows/webapp-ci-template.yml поставляемый
Просмотреть файл

@@ -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

Просмотреть файл

@@ -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 сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@@ -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"
}
}