We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c47fb commit 2587944Copy full SHA for 2587944
.github/workflows/test.yml
@@ -18,6 +18,8 @@ jobs:
18
node-version: "lts/*"
19
- name: Install dependencies
20
run: yarn install --frozen-lockfile
21
+ env:
22
+ NODE_ENV: test
23
- name: Lint
24
run: yarn lint
25
- name: Test
hardhat.config.ts
@@ -4,12 +4,6 @@ import '@matterlabs/hardhat-zksync-toolbox';
4
import '@nomiclabs/hardhat-solhint';
5
import '@typechain/hardhat';
6
7
-console.log(
8
- process.env.NODE_ENV,
9
- process.env.NODE_ENV !== 'test',
10
- !process.env.INFURA_API_KEY,
11
-);
12
-
13
if (process.env.NODE_ENV !== 'test' && !process.env.INFURA_API_KEY) {
14
throw new Error('INFURA_API_KEY must be provided with .env');
15
}
0 commit comments