Merge pull request #1231 from vector-im/johannes/undefault-new-room-h… #1970
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static Analysis | |
on: | |
pull_request: {} | |
push: | |
branches: [develop, master] | |
jobs: | |
ts_lint: | |
name: "Typescript Syntax Check" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
# Does not need branch matching as only analyses this layer | |
- name: Install Deps | |
run: "yarn install --frozen-lockfile" | |
- name: Typecheck | |
run: "yarn run lint:types" | |
i18n_lint: | |
name: "i18n Check" | |
uses: matrix-org/matrix-web-i18n/.github/workflows/i18n_check.yml@main | |
js_lint: | |
name: "ESLint" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
# Does not need branch matching as only analyses this layer | |
- name: Install Deps | |
run: "yarn install --frozen-lockfile" | |
- name: Run Linter | |
run: "yarn run lint:js" |