Skip to content

feat: added version view function #613

feat: added version view function

feat: added version view function #613

Workflow file for this run

name: Deploy Scripts Checks
on:
push:
paths:
- ".github/**"
- "contracts/**"
- "deploy/**"
- "lib/**"
- "scripts/**"
- "ts-utils/**"
- "package.json"
- "yarn.lock"
- "hardhat.config.ts"
jobs:
run-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
persist-credentials: false
- name: reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-de33b6af53005037b463318d2628b5cfcaf39916
- name: install nodejs
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Yarn
run: npm install -g yarn
- name: cache node_modules
uses: actions/cache@v2
with:
path: |
./node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: install node dependencies
run: yarn
- name: run deployment on local fork
uses: BerniWittmann/background-server-action@v1
with:
command: sleep 10 && yarn link_contracts && env RPC_URL=http://localhost:8545 PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 yarn hh deploy --network mainnet --deploy-scripts ./deploy/mainnet
start: anvil --fork-url ${{ secrets.MAINNET_FORK_RPC_URL }}