Skip to content

chore: register ckb light client #100

chore: register ckb light client

chore: register ckb light client #100

name: Migrate Contract to Axon-Alphanet
on:
workflow_dispatch:
pull_request:
types: [ opened, synchronize, reopened ]
# Use concurrency to ensure that only a single job or workflow using the same
# concurrency group will run at a time.
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions?query=workflow_dispatch#concurrency
concurrency:
group: axon-alphanet
cancel-in-progress: false
jobs:
axon-alphanet-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn install
- run: npx truffle version
- run: yarn compile
- name: contracts migrations to axon-alphanet
env:
AXON_HTTP_RPC_URL: https://rpc-alphanet-axon.ckbapp.dev
run: yarn migrate