Re-add typecheck without yarn link (#11338)

* Re-add typecheck without yarn link

* Update static_analysis.yaml
This commit is contained in:
Michael Telatynski
2023-08-02 15:11:50 +01:00
committed by GitHub
parent d49581344e
commit 40442508de

View File

@@ -45,12 +45,13 @@ jobs:
# 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
- name: Typecheck (release mode; no yarn link)
if: github.event_name != 'pull_request' && github.ref_name != 'master'
run: |
yarn unlink matrix-js-sdk
yarn add github:matrix-org/matrix-js-sdk#develop
yarn install --force
yarn run lint:types
i18n_lint:
name: "i18n Check"