diff --git a/libs/ghaction-helper/src/artifacts-helper.ts b/libs/ghaction-helper/src/artifacts-helper.ts index 6e1b78ad2c..3cc02ff9b5 100644 --- a/libs/ghaction-helper/src/artifacts-helper.ts +++ b/libs/ghaction-helper/src/artifacts-helper.ts @@ -3,10 +3,6 @@ import { CompilationResult } from '@remix-project/remix-solidity' import * as fs from 'fs/promises' import * as path from 'path' -declare global { - const remixContractArtifactsPath: string -} - export async function getArtifactsByContractName (contractIdentifier: string) { //@ts-ignore const contractArtifacts = await fs.readdir(global.remixContractArtifactsPath) diff --git a/libs/ghaction-helper/src/methods.ts b/libs/ghaction-helper/src/methods.ts index 82c420f3f6..df90c0b27a 100644 --- a/libs/ghaction-helper/src/methods.ts +++ b/libs/ghaction-helper/src/methods.ts @@ -4,9 +4,6 @@ import { ethers } from "ethers" import * as ganache from "ganache" import { getArtifactsByContractName } from './artifacts-helper' import { SignerWithAddress } from './signer' -declare global { - const ganacheProvider: any -} const initializeProvider = () => { //@ts-ignore diff --git a/package.json b/package.json index be0925ef80..39d01427fb 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "dep-graph": "nx dep-graph", "help": "nx help", "lint:libs": "nx run-many --target=lint --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remix-ws-templates,remixd,remix-ui-tree-view,remix-ui-modal-dialog,remix-ui-toaster,remix-ui-helper,remix-ui-debugger-ui,remix-ui-workspace,remix-ui-static-analyser,remix-ui-checkbox,remix-ui-settings,remix-core-plugin,remix-ui-renderer,remix-ui-publish-to-storage,remix-ui-solidity-compiler,solidity-unit-testing,remix-ui-plugin-manager,remix-ui-terminal,remix-ui-editor,remix-ui-app,remix-ui-tabs,remix-ui-panel,remix-ui-run-tab,remix-ui-permission-handler,remix-ui-search,remix-ui-file-decorators,remix-ui-tooltip-popup,ghaction-helper", - "build:libs": "nx run-many --target=build --parallel=false --with-deps=true --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remix-ws-templates,remixd", + "build:libs": "nx run-many --target=build --parallel=false --with-deps=true --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remix-ws-templates,remixd,ghaction-helper", "test:libs": "nx run-many --target=test --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-tests,remix-url-resolver,remixd", "publish:libs": "yarn run build:libs && lerna publish --skip-git && yarn run bumpVersion:libs", "build:e2e": "node apps/remix-ide-e2e/src/buildGroupTests.js && tsc -p apps/remix-ide-e2e/tsconfig.e2e.json",