Skip to content

Fix legacy to support Tendermint 37 #1659

Fix legacy to support Tendermint 37

Fix legacy to support Tendermint 37 #1659

Workflow file for this run

name: CI
on:
push:
branches:
- main
- development
- legacy
pull_request:
branches:
- main
- development
- legacy
env:
NEXT_PUBLIC_CHAIN_ID: NEXT_PUBLIC_CHAIN_ID
NEXT_PUBLIC_CHAIN_NAME: NEXT_PUBLIC_CHAIN_NAME
NEXT_PUBLIC_CHAIN_BECH32_PREFIX: NEXT_PUBLIC_CHAIN_BECH32_PREFIX
NEXT_PUBLIC_CHAIN_RPC_ENDPOINT: NEXT_PUBLIC_CHAIN_RPC_ENDPOINT
NEXT_PUBLIC_CHAIN_REST_ENDPOINT: NEXT_PUBLIC_CHAIN_REST_ENDPOINT
NEXT_PUBLIC_FEE_DENOM: NEXT_PUBLIC_FEE_DENOM
NEXT_PUBLIC_STAKING_DENOM: NEXT_PUBLIC_STAKING_DENOM
NEXT_PUBLIC_SITE_TITLE: NEXT_PUBLIC_SITE_TITLE
NEXT_PUBLIC_SITE_DESCRIPTION: NEXT_PUBLIC_SITE_DESCRIPTION
NEXT_PUBLIC_SITE_URL: NEXT_PUBLIC_SITE_URL
NEXT_PUBLIC_SITE_IMAGE: NEXT_PUBLIC_SITE_IMAGE
NEXT_PUBLIC_DAO_DAO_VERSION: NEXT_PUBLIC_DAO_DAO_VERSION
NEXT_PUBLIC_GAS_PRICE: NEXT_PUBLIC_GAS_PRICE
NEXT_PUBLIC_CHAIN_TXN_URL_PREFIX: NEXT_PUBLIC_CHAIN_TXN_URL_PREFIX
NEXT_PUBLIC_CW20_CODE_ID: 1
NEXT_PUBLIC_DAO_CONTRACT_CODE_ID: 1
NEXT_PUBLIC_C4_GROUP_CODE_ID: 1
NEXT_PUBLIC_STAKE_CW20_CODE_ID: 1
NEXT_PUBLIC_DAO_ADDRESS: NEXT_PUBLIC_DAO_ADDRESS
NEXT_PUBLIC_VOTE_EXTERNAL_URL: NEXT_PUBLIC_VOTE_EXTERNAL_URL
NEXT_PUBLIC_AIRDROP_URL: NEXT_PUBLIC_AIRDROP_URL
NEXT_PUBLIC_SEARCH_URL: NEXT_PUBLIC_SEARCH_URL
NEXT_PUBLIC_SEARCH_API_KEY: NEXT_PUBLIC_SEARCH_API_KEY
jobs:
ci:
name: Lint & Test
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_CHAIN_ID: NEXT_PUBLIC_CHAIN_ID
NEXT_PUBLIC_CHAIN_NAME: NEXT_PUBLIC_CHAIN_NAME
NEXT_PUBLIC_CHAIN_BECH32_PREFIX: NEXT_PUBLIC_CHAIN_BECH32_PREFIX
NEXT_PUBLIC_CHAIN_RPC_ENDPOINT: NEXT_PUBLIC_CHAIN_RPC_ENDPOINT
NEXT_PUBLIC_CHAIN_REST_ENDPOINT: NEXT_PUBLIC_CHAIN_REST_ENDPOINT
NEXT_PUBLIC_FEE_DENOM: NEXT_PUBLIC_FEE_DENOM
NEXT_PUBLIC_STAKING_DENOM: NEXT_PUBLIC_STAKING_DENOM
NEXT_PUBLIC_SITE_TITLE: NEXT_PUBLIC_SITE_TITLE
NEXT_PUBLIC_SITE_DESCRIPTION: NEXT_PUBLIC_SITE_DESCRIPTION
NEXT_PUBLIC_SITE_URL: NEXT_PUBLIC_SITE_URL
NEXT_PUBLIC_SITE_IMAGE: NEXT_PUBLIC_SITE_IMAGE
NEXT_PUBLIC_SITE_ICON_URL: NEXT_PUBLIC_SITE_ICON_URL
NEXT_PUBLIC_DAO_DAO_VERSION: NEXT_PUBLIC_DAO_DAO_VERSION
NEXT_PUBLIC_GAS_PRICE: NEXT_PUBLIC_GAS_PRICE
NEXT_PUBLIC_CW20_CODE_ID: 1
NEXT_PUBLIC_DAO_CONTRACT_CODE_ID: 1
NEXT_PUBLIC_C4_GROUP_CODE_ID: 1
NEXT_PUBLIC_STAKE_CW20_CODE_ID: 1
NEXT_PUBLIC_DAO_ADDRESS: NEXT_PUBLIC_DAO_ADDRESS
NEXT_PUBLIC_VOTE_EXTERNAL_URL: NEXT_PUBLIC_VOTE_EXTERNAL_URL
NEXT_PUBLIC_AIRDROP_URL: NEXT_PUBLIC_AIRDROP_URL
NEXT_PUBLIC_DAO_INDEX: NEXT_PUBLIC_DAO_INDEX
NEXT_PUBLIC_MULTISIG_INDEX: NEXT_PUBLIC_MULTISIG_INDEX
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'yarn'
- run: yarn install
- run: yarn lint
- run: yarn build