Skip to content

Commit

Permalink
ci: Build the whole app
Browse files Browse the repository at this point in the history
  • Loading branch information
kovipu committed Sep 12, 2024
1 parent ef04ee8 commit 14e99e9
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 42 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Build and Deploy
on:
push:
branches: [ main ]
workflow_run:
workflows: [nodejs, rust, rustfmt]
types:
- completed

permissions:
contents: read
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/rust.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Verify Build
on:
push:
branches: '**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Rust cache
uses: Swatinem/rust-cache@v2

- name: Install Stellar
run: cargo install --locked stellar-cli --features opt

- name: Build contracts
run: make build

- name: Run clippy
run: cargo clippy -- -D warnings

- name: Setup env
run: cp .env.example .env

- name: Install and build
run: |
npm install
npm run init
- name: Install, build, and upload your site output
uses: withastro/action@v2
4 changes: 3 additions & 1 deletion src/pages/_landing/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ const LandingPage = () => (
</div>
</div>
<div className="w-1/2 p-14 my-auto">
<p className="text-xl mb-8 leading-relaxed tracking-tight">Got a question? Ask us in the Stellar Dev Discord!</p>
<p className="text-xl mb-8 leading-relaxed tracking-tight">
Got a question? Ask us in the Stellar Dev Discord!
</p>
<NativeLinkButton to="https://discord.com/invite/stellardev" className="text-lg">
Join Stellar Discord
</NativeLinkButton>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/_lend/LendableAssetCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const LendableAssetCard = ({ currency }: LendableAssetCardProps) => {

{isPoor ? (
<div className="tooltip" data-tip={!wallet ? 'Connect a wallet first' : 'Not enough funds'}>
<Button disabled={true} onClick={() => { }}>
<Button disabled={true} onClick={() => {}}>
Deposit
</Button>
</div>
Expand Down

0 comments on commit 14e99e9

Please sign in to comment.