forked from Tenderly/vnet-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
59 lines (58 loc) · 1.98 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: 'Tenderly Virtual TestNet Setup'
description: 'Sets up a Tenderly Virtual TestNet and exposes RPC link as an environment variable'
inputs:
mode:
description: 'Operation mode (CI or CD). CD mode will persist the TestNet and track deployments'
required: false
default: 'CI'
access_key:
description: 'Tenderly API Access Key'
required: true
project_name:
description: 'Tenderly Project Name'
required: true
account_name:
description: 'Tenderly Account Name'
required: true
testnet_name:
description: 'Display name for the Virtual TestNet'
required: true
default: 'CI Virtual TestNet'
network_id:
description: 'Array of Network IDs to fork (e.g., 1 for Ethereum Mainnet, 137 for Polygon)'
required: true
chain_id:
description: 'Chain ID for Virtual TestNet. If not specified will be formed as ${chain_id_prefix}${network_id}'
required: false
chain_id_prefix:
description: 'Chain ID for Virtual TestNet'
required: false
default: 7357
block_number:
description: 'Block number to fork from (in hex or "latest")'
required: true
default: 'latest'
state_sync:
description: 'State Sync enables you to access the latest values of storage slots and account balances'
required: false
default: 'false'
public_explorer:
description: 'Public explorer option generates a public URL that you can share with anyone and allow them to view transactional activity on your TestNet'
required: false
default: 'false'
verification_visibility:
description: 'If Public Explorer is enabled, level of visibility for smart contracts deployed on your TestNet'
required: false
default: 'bytecode'
push_on_complete:
description: 'Push deployment files in ci-cd-out on action completion to track deployed smart contracts'
required: false
default: 'true'
runs:
using: 'node20'
main: './dist/index.js'
post: './dist/cleanup.js'
post-if: always()
branding:
icon: 'cloud'
color: 'white'