коммит произвёл
GitHub
родитель
b8858c4582
Коммит
5d66883b04
10
.github/workflows/webapp-ci-template.yml
поставляемый
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 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
|
npm run mmjstool -- i18n check-empty-src --webapp-dir ./src --mobile-dir /tmp/fake-mobile-dir
|
||||||
rm -rf tmp
|
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:
|
check-types:
|
||||||
runs-on: ubuntu-22.04
|
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
|
* 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.
|
* 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) => {
|
await Promise.all(products.map(async (product) => {
|
||||||
if (!REMOTE_CONTAINERS[product.id]) {
|
if (!REMOTE_CONTAINERS[product.id]) {
|
||||||
|
|||||||
1895
webapp/package-lock.json
сгенерированный
1895
webapp/package-lock.json
сгенерированный
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
@@ -35,5 +35,8 @@
|
|||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test-ci": "jest --ci --forceExit --detectOpenHandles --maxWorkers=100%",
|
"test-ci": "jest --ci --forceExit --detectOpenHandles --maxWorkers=100%",
|
||||||
"clean": "rm -rf lib node_modules tsconfig.tsbuildinfo"
|
"clean": "rm -rf lib node_modules tsconfig.tsbuildinfo"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"jest": "27.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user