feat(bridge-ui): add padding when claiming to smart contract (#18141) #2200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bridge UI CI/CD | |
on: | |
push: | |
paths: | |
- "packages/bridge-ui/**" | |
branches-ignore: | |
- dependabot/** | |
tags: | |
- "bridge-ui-v*" | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths: | |
- "packages/bridge-ui/**" | |
jobs: | |
build-and-test: | |
uses: ./.github/workflows/bridge-ui--ci.yml | |
# Deployment name follow the pattern: deploy_<appname(bridge-ui)>_<network(devnet|hekla|mainnet)>_<environment(preview|production)> | |
# Internal Devnet | |
deploy_bridge-ui_devnet_preview: | |
if: ${{ github.ref_type != 'tag' }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "preview" | |
flags: "" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI_INTERNAL }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} | |
# Hekla testnet | |
deploy_bridge-ui_hekla_preview: | |
if: ${{ github.ref_type != 'tag' }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "preview" | |
flags: "" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI_HEKLA }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} | |
deploy_bridge-ui_hekla_production: | |
if: ${{ startsWith(github.ref, 'refs/tags/bridge-ui-v') }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "production" | |
flags: "--prod" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI_HEKLA }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} | |
# Mainnet | |
deploy_bridge-ui_mainnet_preview: | |
if: ${{ github.ref_type != 'tag' }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "preview" | |
flags: "" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI_MAINNET }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} | |
deploy_bridge-ui_mainnet_production: | |
if: ${{ startsWith(github.ref, 'refs/tags/bridge-ui-v') }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "production" | |
flags: "--prod" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI_MAINNET }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} |