chore: register ckb light client #103
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: 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 |