Skip to content

Commit 2ee27cd

Browse files
committed
fix: move NETWORK_NAME environment variable to the job level in CI workflow
1 parent 32f7059 commit 2ee27cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ concurrency:
1717
jobs:
1818
build-and-test:
1919
runs-on: ubuntu-latest
20+
env:
21+
NETWORK_NAME: "bellecour"
2022

2123
steps:
2224
- name: Checkout
@@ -43,8 +45,6 @@ jobs:
4345
- name: Prepare local stack env
4446
id: prepare
4547
run: npx tsx ./test-stack/prepare-test-env.ts
46-
env:
47-
NETWORK_NAME: "bellecour"
4848

4949
- name: Fetch genesis block number
5050
id: fetch_block
@@ -60,7 +60,6 @@ jobs:
6060
env:
6161
FORK_URL: ${{ steps.fetch_block.outputs.URL }}
6262
FORK_BLOCK: ${{ steps.fetch_block.outputs.BLOCK }}
63-
NETWORK_NAME: "bellecour"
6463

6564
- name: Run integration tests
6665
run: npm run test:e2e

0 commit comments

Comments
 (0)