From c06aca6f60fef09c037c48dfe9d8ba3982525a4e Mon Sep 17 00:00:00 2001 From: majian Date: Fri, 25 Dec 2020 14:24:06 +0800 Subject: [PATCH] add dashboard lint check (#815) and remove unused ref --- .github/workflows/dashboard.yml | 1 + dashboard/src/pages/System/Environment/index.less | 0 dashboard/src/pages/System/Environment/index.tsx | 2 -- 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 dashboard/src/pages/System/Environment/index.less diff --git a/.github/workflows/dashboard.yml b/.github/workflows/dashboard.yml index 25e0e2fb6..0864ef2cb 100644 --- a/.github/workflows/dashboard.yml +++ b/.github/workflows/dashboard.yml @@ -25,5 +25,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: yarn + - run: yarn lint - run: yarn build diff --git a/dashboard/src/pages/System/Environment/index.less b/dashboard/src/pages/System/Environment/index.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/dashboard/src/pages/System/Environment/index.tsx b/dashboard/src/pages/System/Environment/index.tsx index 7d24edb81..f9f46f500 100644 --- a/dashboard/src/pages/System/Environment/index.tsx +++ b/dashboard/src/pages/System/Environment/index.tsx @@ -1,5 +1,3 @@ -import './index.less'; - import React, { useState } from 'react'; import { Button, Card, message, Popconfirm, Space, Table, Tag, Tooltip } from 'antd';