diff --git a/.github/workflows/lighthouse-ci.yml b/.github/workflows/lighthouse-ci.yml new file mode 100644 index 00000000..86451027 --- /dev/null +++ b/.github/workflows/lighthouse-ci.yml @@ -0,0 +1,16 @@ +name: Lighthouse CI +on: [push] +jobs: + lighthouseci: + runs-on: ubuntu-latest + defaults: + run: + working-directory: statusboard + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '14' + - run: yarn --frozen-lockfile && yarn global add @lhci/cli@0.8.x + - run: yarn run build + - run: lhci autorun diff --git a/statusboard/src/pages/Projects/Projects.tsx b/statusboard/src/pages/Projects/Projects.tsx index ba1ecc97..27f0dcb0 100644 --- a/statusboard/src/pages/Projects/Projects.tsx +++ b/statusboard/src/pages/Projects/Projects.tsx @@ -63,7 +63,7 @@ function Projects(): JSX.Element { id: name, value: queryParameters[name], })), - [] + [columns, queryParameters] ); const options: TableOptions = useMemo( @@ -78,7 +78,7 @@ function Projects(): JSX.Element { }, filterTypes, }), - [filteredProjects, columns, filterTypes], + [filteredProjects, columns, filterTypes, initialFilterValues], ); const hooks: PluginHook[] = useMemo(