CI: Add betterer check to lint step (#103361)

* add betterer check to lint step

* fix regressions

* add translation
This commit is contained in:
Ashley Harrison
2025-04-03 18:31:36 +03:00
committed by GitHub
parent 5a2eedbae1
commit 7603a92296
7 changed files with 49 additions and 31 deletions
+13 -1
View File
@@ -42,7 +42,7 @@ jobs:
- run: yarn install --immutable --check-cache
- run: yarn run prettier:check
- run: yarn run lint
lint-fronetnd-typecheck:
lint-frontend-typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
@@ -54,3 +54,15 @@ jobs:
cache-dependency-path: 'yarn.lock'
- run: yarn install --immutable --check-cache
- run: yarn run typecheck
lint-frontend-betterer:
name: Betterer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn install --immutable --check-cache
- run: yarn run betterer:ci