Skip to content

Commit

Permalink
add fork test to CI to test npm deploy package
Browse files Browse the repository at this point in the history
  • Loading branch information
RnkSngh committed Jul 29, 2024
1 parent aa681b1 commit 5bd01fa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,17 @@ jobs:

- name: Tests
run: forge test --no-match-contract DispatcherDeployTest

- name: Fork Deploy Test
run: npm run build && npx
env:
MODULE_ROOT_PATH: "./"
RPC_URL: ${{ secrets.FORK_RPC_URL }}
CHAIN_NAME: fork-test-ci
DUMMY_DEPLOYER_PRIVATE_KEY: ${{ secrets.DUMMY_DEPLOYER_PRIVATE_KEY }}
DAPP_PRIVATE_KEY_1: ${{ secrets.DAPP_PRIVATE_KEY_1 }}
DAPP_PRIVATE_KEY_2: ${{ secrets.DAPP_PRIVATE_KEY_2 }}
DAPP_PRIVATE_KEY_3: ${{ secrets.DAPP_PRIVATE_KEY_3 }}
PolymerL2OutputOracleProxyAddress: 0xB901B810B30f4d8D179FA5e4dFA73B6EC81f2dB0
L2OutputOracleProxyAddress: 0xB901B810B30f4d8D179FA5e4dFA73B6EC81f2dB0
L1BlockAddress: 0x4200000000000000000000000000000000000015
Binary file modified bun.lockb
Binary file not shown.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
"test": "forge test --no-match-contract DispatcherDeployTest",
"build": "make bindings-gen-go bindings-gen-ts && tsup",
"build-contracts": "make build-contracts",
"deploy-contracts": "npm run build && node dist/deploy.js",
"deploy-simple": "node dist/deploy.js",
"prepublishOnly": "npm run build"
},
"keywords": [
Expand Down

0 comments on commit 5bd01fa

Please sign in to comment.