Skip to content

Commit 625d111

Browse files
committed
fix: update start-test-stack script to use export for NETWORK_NAME
1 parent 98a0dfe commit 625d111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"deploy": "graph deploy ${NETWORK_NAME:-bellecour}/poco --node ${GRAPHNODE_URL:-http://localhost:8020} --ipfs ${IPFS_URL:-http://localhost:5001} --version-label ${VERSION_LABEL:-bellecour/poco-v5}",
1717
"all": "npm run clean && npm run codegen && npm run build && npm run create && npm run deploy",
1818
"stop-test-stack": "cd test-stack && docker compose down --remove-orphans --volumes",
19-
"start-test-stack": "npm run stop-test-stack && cd test-stack && NETWORK_NAME=${NETWORK_NAME:-bellecour} node prepare-test-env.js && docker compose build && NETWORK_NAME=${NETWORK_NAME:-bellecour} docker compose up -d",
19+
"start-test-stack": "npm run stop-test-stack && cd test-stack && export NETWORK_NAME=${NETWORK_NAME:-bellecour} && node prepare-test-env.js && docker compose build && docker compose up -d",
2020
"itest": "NETWORK_NAME=${NETWORK_NAME:-bellecour} mocha"
2121
},
2222
"lint-staged": {

0 commit comments

Comments
 (0)