credits #172
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: Run Tests Prod | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Set up Yarn | |
uses: threeal/setup-yarn-action@v2.0.0 | |
with: | |
cache: false | |
- name: Install Dependencies | |
run: | | |
echo "YARN_ENABLE_IMMUTABLE_INSTALLS=false" >> $GITHUB_ENV | |
npm install -g create-cosmos-app | |
- name: asset-list | |
run: | | |
cca --example asset-list --name asset-list | |
cd asset-list | |
yarn build | |
- name: vote-proposal | |
run: | | |
cca --example vote-proposal --name vote-proposal | |
cd vote-proposal | |
yarn build | |
- name: ibc-transfer | |
run: | | |
cca --example ibc-transfer --name ibc-transfer | |
cd ibc-transfer | |
yarn build | |
- name: swap-tokens | |
run: | | |
cca --example swap-tokens --name swap-tokens | |
cd swap-tokens | |
yarn build | |
- name: provide-liquidity | |
run: | | |
cca --example provide-liquidity --name provide-liquidity | |
cd provide-liquidity | |
yarn build | |
- name: nft | |
run: | | |
cca --example nft --name nft | |
cd nft | |
touch yarn.lock | |
yarn install | |
yarn build | |
- name: authz | |
run: | | |
cca --example authz --name authz | |
cd authz | |
yarn build | |
- name: connect-chain | |
run: | | |
cca --template connect-chain --name connect-chain | |
cd connect-chain | |
yarn build | |
- name: connect-multi-chain | |
run: | | |
cca --template connect-multi-chain --name connect-multi-chain | |
cd connect-multi-chain | |
yarn build | |
- name: website | |
run: | | |
cca --boilerplate website --name website | |
cd website | |
yarn build |