diff --git a/.env.test b/.env.test new file mode 100644 index 0000000..fbb397a --- /dev/null +++ b/.env.test @@ -0,0 +1,6 @@ +DEPLOYER_PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1 + +ETHEREUM_GOERLI_RPC=API +ETHEREUM_SEPOLICA_RPC=API + +ETHERSCAN_API_KEY=API \ No newline at end of file diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index c71c065..795407a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -69,5 +69,9 @@ jobs: path: node_modules key: node_modules-${{ hashFiles('**/yarn.lock') }} + - name: Create mock .env file + run: | + cp .env.test .env + - name: All Tests pass run: yarn test \ No newline at end of file