Run type check for all web app packages in CI (#22578)
* Fix incorrect usage of types pacakge * Make platform packages properly expose their type definitions * Have Boards, Channels, and Playbooks get types from platform packages properly * Run type check for all web app packages in CI * Fix incorrect job name
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2eb5dac9b7
Коммит
1edbde8aa3
5
.github/workflows/channels-ci.yml
поставляемый
5
.github/workflows/channels-ci.yml
поставляемый
@@ -80,7 +80,7 @@ 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
|
||||
check-type:
|
||||
check-types:
|
||||
runs-on: ubuntu-22.04
|
||||
defaults:
|
||||
run:
|
||||
@@ -109,12 +109,11 @@ jobs:
|
||||
make node_modules
|
||||
# make channels/e2e/playwright/node_modules
|
||||
- name: ci/lint
|
||||
working-directory: webapp/channels
|
||||
run: |
|
||||
npm run check-types
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [check-type, check-i18n, check-lint]
|
||||
needs: [check-types, check-i18n, check-lint]
|
||||
permissions:
|
||||
checks: write
|
||||
pull-requests: write
|
||||
|
||||
Ссылка в новой задаче
Block a user