Temporarily add missing @types imports (#11309)

* Add CI to typecheck without yarn link like in release process

* Temporarily add missing @types imports
This commit is contained in:
Michael Telatynski 2023-07-25 09:29:52 +01:00 committed by GitHub
parent 9136a581d2
commit 5fbdbccdc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

View file

@ -43,6 +43,15 @@ jobs:
- name: Typecheck (release mode)
run: "yarn run lint:types"
# Temporary while we directly import matrix-js-sdk/src/* which means we need
# certain @types/* packages to make sense of matrix-js-sdk types.
- name: Typecheck (release mode; no yarn link)
if: github.event_name != 'pull_request'
run: |
yarn unlink matrix-js-sdk
yarn install --force
yarn run lint:types
i18n_lint:
name: "i18n Check"
uses: matrix-org/matrix-react-sdk/.github/workflows/i18n_check.yml@develop