Skip to content

Commit 5bd01fa

Browse files
committed
add fork test to CI to test npm deploy package
1 parent aa681b1 commit 5bd01fa

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/foundry.yml

+14
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,17 @@ jobs:
2626

2727
- name: Tests
2828
run: forge test --no-match-contract DispatcherDeployTest
29+
30+
- name: Fork Deploy Test
31+
run: npm run build && npx
32+
env:
33+
MODULE_ROOT_PATH: "./"
34+
RPC_URL: ${{ secrets.FORK_RPC_URL }}
35+
CHAIN_NAME: fork-test-ci
36+
DUMMY_DEPLOYER_PRIVATE_KEY: ${{ secrets.DUMMY_DEPLOYER_PRIVATE_KEY }}
37+
DAPP_PRIVATE_KEY_1: ${{ secrets.DAPP_PRIVATE_KEY_1 }}
38+
DAPP_PRIVATE_KEY_2: ${{ secrets.DAPP_PRIVATE_KEY_2 }}
39+
DAPP_PRIVATE_KEY_3: ${{ secrets.DAPP_PRIVATE_KEY_3 }}
40+
PolymerL2OutputOracleProxyAddress: 0xB901B810B30f4d8D179FA5e4dFA73B6EC81f2dB0
41+
L2OutputOracleProxyAddress: 0xB901B810B30f4d8D179FA5e4dFA73B6EC81f2dB0
42+
L1BlockAddress: 0x4200000000000000000000000000000000000015

bun.lockb

-144 Bytes
Binary file not shown.

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
"test": "forge test --no-match-contract DispatcherDeployTest",
3737
"build": "make bindings-gen-go bindings-gen-ts && tsup",
3838
"build-contracts": "make build-contracts",
39-
"deploy-contracts": "npm run build && node dist/deploy.js",
40-
"deploy-simple": "node dist/deploy.js",
4139
"prepublishOnly": "npm run build"
4240
},
4341
"keywords": [

0 commit comments

Comments
 (0)