diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 8168870917b381d07151d11cea3157433657c276..e64e22107eb19744da66014c5e63d09d87b9ae8d 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -76,6 +76,24 @@ jobs: - run: yarn run lint-docs-links name: Run docs links checker + fe-type-check: + runs-on: ubuntu-20.04 + timeout-minutes: 10 + steps: + - uses: actions/checkout@v2 + - name: Prepare Node.js + uses: actions/setup-node@v1 + with: + node-version: 14.x + - name: Get yarn cache + uses: actions/cache@v2 + with: + path: ~/.cache/yarn + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + - run: yarn install --frozen-lockfile --prefer-offline + - run: yarn type-check + name: Check types + fe-tests-unit: runs-on: ubuntu-20.04 timeout-minutes: 14 diff --git a/package.json b/package.json index 28a9592466a262c94be1bc324e241cb586bdadb7..a5604aa699161e948c8469218424e4f0416dd82b 100644 --- a/package.json +++ b/package.json @@ -207,9 +207,6 @@ "prettier": "prettier --write '{enterprise/,}frontend/**/*.{js,jsx,ts,tsx,css}'", "eslint-fix": "yarn && eslint --fix --ext .js,.jsx,.ts,.tsx --rulesdir frontend/lint/eslint-rules {enterprise/,}frontend/{src,test}", "docs": "documentation serve --watch frontend/src/metabase-lib/lib/**", - "ci": "yarn ci-frontend && yarn ci-backend", - "ci-frontend": "yarn lint && yarn test", - "ci-backend": "clojure -X:dev:ee:ee-dev:drivers:drivers-dev:eastwood && clojure -X:dev:test", "test-cypress": "yarn build && ./bin/build-for-test && yarn test-cypress-no-build", "test-cypress-open": "./bin/build-for-test && yarn test-cypress-no-build --open", "test-cypress-open-no-backend": "E2E_HOST='http://localhost:3000' yarn test-cypress-no-build --open",