Skip to content

Commit 6042625

Browse files
authored
Remove redundant switch_package_to_release call (#28384)
`switch_package_to_release` is now a no-op (there are no fields called `matrix_lib_*` in matrix-js-sdk's package.json), so everything after that is redundant.
1 parent 9d79a93 commit 6042625

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

.github/workflows/static_analysis.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,6 @@ jobs:
3434
- name: Typecheck
3535
run: "yarn run lint:types"
3636

37-
- name: Switch js-sdk to release mode
38-
working-directory: node_modules/matrix-js-sdk
39-
run: |
40-
scripts/switch_package_to_release.cjs
41-
yarn install
42-
yarn run build:compile
43-
yarn run build:types
44-
45-
- name: Typecheck (release mode)
46-
run: "yarn run lint:types"
47-
48-
# Temporary while we directly import matrix-js-sdk/src/* which means we need
49-
# certain @types/* packages to make sense of matrix-js-sdk types.
50-
#- name: Typecheck (release mode; no yarn link)
51-
# if: github.event_name != 'pull_request' && github.ref_name != 'master'
52-
# run: |
53-
# yarn unlink matrix-js-sdk
54-
# yarn add github:matrix-org/matrix-js-sdk#develop
55-
# yarn install --force
56-
# yarn run lint:types
57-
5837
i18n_lint:
5938
name: "i18n Check"
6039
uses: matrix-org/matrix-web-i18n/.github/workflows/i18n_check.yml@main

0 commit comments

Comments
 (0)