Add GHA for Dead Code Analysis (#9052)

This commit is contained in:
Šimon Brandner
2022-08-04 10:00:49 +02:00
committed by GitHub
parent ed8ccb5d80
commit a866005bea
2 changed files with 18 additions and 52 deletions

View File

@@ -74,3 +74,21 @@ jobs:
- name: Run Linter
run: "yarn run lint:style"
analyse_dead_code:
name: "Analyse Dead Code"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
cache: 'yarn'
- name: Install Deps
run: "scripts/ci/layered.sh"
- name: Dead Code Analysis
run: |
cd element-web
yarn run analyse:unused-exports