Skip to content

Commit 4044250

Browse files
authored
Re-add typecheck without yarn link (matrix-org#11338)
* Re-add typecheck without yarn link * Update static_analysis.yaml
1 parent d495813 commit 4044250

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/static_analysis.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,13 @@ jobs:
4545

4646
# Temporary while we directly import matrix-js-sdk/src/* which means we need
4747
# certain @types/* packages to make sense of matrix-js-sdk types.
48-
#- name: Typecheck (release mode; no yarn link)
49-
# if: github.event_name != 'pull_request'
50-
# run: |
51-
# yarn unlink matrix-js-sdk
52-
# yarn install --force
53-
# yarn run lint:types
48+
- name: Typecheck (release mode; no yarn link)
49+
if: github.event_name != 'pull_request' && github.ref_name != 'master'
50+
run: |
51+
yarn unlink matrix-js-sdk
52+
yarn add github:matrix-org/matrix-js-sdk#develop
53+
yarn install --force
54+
yarn run lint:types
5455
5556
i18n_lint:
5657
name: "i18n Check"

0 commit comments

Comments
 (0)