diff --git a/.github/workflows/forked.yaml b/.github/workflows/forked.yaml index 5e69000..d165353 100644 --- a/.github/workflows/forked.yaml +++ b/.github/workflows/forked.yaml @@ -27,8 +27,8 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v1 - - name: Install Hardhat - run: npm install --save-dev hardhat + - name: Install Ganache + run: npm install - name: Setup Python 3.11 uses: actions/setup-python@v2 @@ -38,8 +38,5 @@ jobs: - name: Install Requirements run: pip install -r requirements.txt - - name: Run node - run: npx hardhat node --fork https://mainnet.infura.io/v3/$WEB3_INFURA_PROJECT_ID - - name: Run Tests run: brownie test tests/forked/ --network mainnet-fork -x diff --git a/.github/workflows/unitary.yaml b/.github/workflows/unitary.yaml index d56a02b..de637c9 100644 --- a/.github/workflows/unitary.yaml +++ b/.github/workflows/unitary.yaml @@ -27,8 +27,8 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v1 - - name: Install Hardhat - run: npm install --save-dev hardhat + - name: Install Ganache + run: npm install - name: Setup Python 3.11 uses: actions/setup-python@v2 @@ -38,8 +38,5 @@ jobs: - name: Install Requirements run: pip install -r requirements.txt - - name: Run node - run: npx hardhat node - - name: Run Tests run: brownie test -x --ignore=tests/forked/ diff --git a/package.json b/package.json index 6ed6045..836ad62 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "scripts": { - "preinstall": "npm i -g ganache-cli@6.12.1" + "preinstall": "npm i -g ganache@7.9.2" } }