Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyyaaa committed Jun 5, 2024
1 parent b8d4f72 commit 893eaff
Show file tree
Hide file tree
Showing 6 changed files with 29,314 additions and 21,454 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run Tests
on:
push:
pull_request:
types: [opened, synchronized, reopened]
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
Expand All @@ -18,23 +18,23 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: '20.x'

- name: Install Dependencies
run: 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: asset-list
# run: |
# cca --example asset-list --name asset-list
# cd asset-list
# yarn build

# - name: ibc-transfer
# run: |
# cca --example ibc-transfer --name ibc-transfer
Expand Down
2 changes: 1 addition & 1 deletion examples/asset-list/components/common/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Layout = ({ children }: { children?: React.ReactNode }) => {
bottom="0"
left="0"
right="0"
height="max(1dvh, 100%)"
flex={1}
backgroundColor={theme === 'light' ? '$white' : '$gray900'}
data-part-id="layout-container"
>
Expand Down
2 changes: 1 addition & 1 deletion examples/asset-list/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
signerOptions={signerOptions}
>
<QueryClientProvider client={queryClient}>
<main id="main" className={themeClass}>
<main id="main">
{/* TODO fix type error */}
{/* @ts-ignore */}
<Component {...pageProps} />
Expand Down
2 changes: 2 additions & 0 deletions examples/asset-list/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,6 @@ h6 {

#main {
min-height: 100vh;
display: flex;
flex-direction: column;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
"url": "https://github.com/cosmology-tech/create-cosmos-app"
},
"packageManager": "[email protected]"
}
}
Loading

0 comments on commit 893eaff

Please sign in to comment.