Skip to content

Commit

Permalink
Set public node url to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Garcia committed Aug 10, 2023
1 parent 5179050 commit 2754697
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-momoka-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
run: cd momoka-node && pnpm run build

- name: Run the unit tests
run: cd momoka-node && pnpm run test
run: cd momoka-node && pnpm run test:ci

3 changes: 3 additions & 0 deletions momoka-node/.env.ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ETHEREUM_NETWORK=MUMBAI
NODE_URL="https://polygon-mumbai.g.alchemy.com/v2/demo"
CONCURRENCY=1
1 change: 1 addition & 0 deletions momoka-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"debug:playground": "pnpm run build && env-cmd -f .env node lib/__PLAYGROUND__/index.js",
"generate": "graphql-codegen",
"test": "env-cmd -f .env.test jest --forceExit",
"test:ci": "env-cmd -f .env.ci jest --forceExit",
"lint": "pnpm run prettier && pnpm run tsc",
"lint:fix": "pnpm run prettier:fix && pnpm run eslint",
"prettier:fix": "prettier --write .",
Expand Down

0 comments on commit 2754697

Please sign in to comment.