diff --git a/.github/workflows/autonolas-registry.yml b/.github/workflows/autonolas-registry.yml index 1fd8478d..02f3a8d2 100644 --- a/.github/workflows/autonolas-registry.yml +++ b/.github/workflows/autonolas-registry.yml @@ -6,6 +6,8 @@ on: paths: - 'apps/autonolas-registry/**' pull_request: + branches: + - main paths: - 'apps/autonolas-registry/**' @@ -22,7 +24,6 @@ jobs: node-version: 18 - name: Install modules run: yarn - - run: git branch --track main origin/main - name: Run ESLint run: yarn nx lint autonolas-registry - name: Run Test diff --git a/.github/workflows/tokenomics.yml b/.github/workflows/tokenomics.yml index 45b0c71f..8d3b0d7a 100644 --- a/.github/workflows/tokenomics.yml +++ b/.github/workflows/tokenomics.yml @@ -8,6 +8,8 @@ on: paths: - 'apps/tokenomics/**' pull_request: + branches: + - main paths: - 'apps/tokenomics/**' @@ -24,7 +26,6 @@ jobs: node-version: 18 - name: Install modules run: yarn - - run: git branch --track main origin/main - name: Run ESLint run: yarn nx lint tokenomics - name: Run Test diff --git a/apps/autonolas-registry/components/ListComponents/index.jsx b/apps/autonolas-registry/components/ListComponents/index.jsx index 84c74334..b926b1e9 100644 --- a/apps/autonolas-registry/components/ListComponents/index.jsx +++ b/apps/autonolas-registry/components/ListComponents/index.jsx @@ -2,7 +2,6 @@ import { useState, useEffect } from 'react'; import { Tabs } from 'antd'; import { useRouter } from 'next/router'; import { notifyError } from '@autonolas/frontend-library'; - import { NAV_TYPES } from 'util/constants'; import ListTable from 'common-util/List/ListTable'; import { diff --git a/apps/autonolas-registry/tests/common-util/YellowButton.test.tsx b/apps/autonolas-registry/tests/common-util/YellowButton.test.tsx index c2771e43..ffc16a8a 100644 --- a/apps/autonolas-registry/tests/common-util/YellowButton.test.tsx +++ b/apps/autonolas-registry/tests/common-util/YellowButton.test.tsx @@ -1,5 +1,6 @@ import '@testing-library/jest-dom'; import { render } from '@testing-library/react'; + import { YellowButton } from '../../common-util/YellowButton'; describe('YellowButton', () => { diff --git a/apps/tokenomics/components/Home/Bonding/BondingList.jsx b/apps/tokenomics/components/Home/Bonding/BondingList.jsx index fe8dd01d..447214ed 100644 --- a/apps/tokenomics/components/Home/Bonding/BondingList.jsx +++ b/apps/tokenomics/components/Home/Bonding/BondingList.jsx @@ -7,7 +7,6 @@ import { remove, round, isNaN } from 'lodash'; import { COLOR, NA } from '@autonolas/frontend-library'; import { QuestionCircleOutlined } from '@ant-design/icons'; import styled from 'styled-components'; - import { BONDING_PRODUCTS } from 'util/constants'; import { notifySpecificError, parseToEth } from 'common-util/functions'; import { useHelpers } from 'common-util/hooks/useHelpers';