Skip to content

WIP CI Proxy upgrade verification flow #7

WIP CI Proxy upgrade verification flow

WIP CI Proxy upgrade verification flow #7

name: Verify Deployment
on:
push:
branches:
- main
pull_request:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
verify:
# if: startsWith(github.head_ref, 'deploy/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 20.16.0
pnpm-version: 9.0.6
- name: Verify deployment bytecode
run: |
# Extract branch name from `GITHUB_REF`
BRANCH_NAME=${{ github.ref }}
# Remove the refs/heads/ prefix
BRANCH_NAME=${BRANCH_NAME#refs/heads/deploy/}
npx hardhat verify-deployment --network upgradeTest
working-directory: ./packages/solidity-contracts