π OpenHands: AI-Driven Development
fix: Update frontend workflows to catch TypeScript errors (#5347)
Graham Neubig5672a317acbd
diff --git a/.github/workflows/fe-unit-tests.yml b/.github/workflows/fe-unit-tests.ymlindex 2bced7406e..b720bfe34c 100644--- a/.github/workflows/fe-unit-tests.yml+++ b/.github/workflows/fe-unit-tests.yml@@ -35,6 +35,9 @@ jobs:- name: Install dependenciesworking-directory: ./frontendrun: npm ci+ - name: Run TypeScript compilation+ working-directory: ./frontend+ run: npm run make-i18n && tsc- name: Run tests and collect coverageworking-directory: ./frontendrun: npm run test:coveragediff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex b6a9d327d8..1bfc8c91c6 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -30,10 +30,11 @@ jobs:run: |cd frontendnpm install --frozen-lockfile- - name: Lint+ - name: Lint and TypeScript compilationrun: |cd frontendnpm run lint+ npm run make-i18n && tsc# Run lint on the python codelint-python: