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:
parent
9136a581d2
commit
5fbdbccdc6
3 changed files with 27 additions and 0 deletions
9
.github/workflows/static_analysis.yaml
vendored
9
.github/workflows/static_analysis.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue