diff --git a/.github/workflows/gre.yml b/.github/workflows/gre.yml new file mode 100644 index 000000000..2e5ade371 --- /dev/null +++ b/.github/workflows/gre.yml @@ -0,0 +1,27 @@ +name: Run GRE tests + +on: + push: + branches: [dev] + pull_request: {} + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Install packages + run: yarn install --non-interactive --frozen-lockfile + - name: Build project + run: yarn build + - name: Run GRE tests + run: yarn test:gre diff --git a/gre/test/fixture-projects/default-config/hardhat.config.js b/gre/test/fixture-projects/default-config/hardhat.config.js deleted file mode 100644 index 4ba52ba2c..000000000 --- a/gre/test/fixture-projects/default-config/hardhat.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = {} diff --git a/gre/test/fixture-projects/default-config/hardhat.config.ts b/gre/test/fixture-projects/default-config/hardhat.config.ts new file mode 100644 index 000000000..17de4a585 --- /dev/null +++ b/gre/test/fixture-projects/default-config/hardhat.config.ts @@ -0,0 +1,8 @@ +module.exports = { + networks: { + mainnet: { + chainId: 1, + url: `https://mainnet.infura.io/v3/123456`, + }, + }, +}