Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/akanoce/getgho
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecarpini committed Jan 21, 2024
2 parents 5ab52d9 + a1bc230 commit edd3f1d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
name: dev-sepolia
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
Expand All @@ -39,12 +39,19 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build React App
run: yarn build
run: yarn build:ci
env:
REACT_APP_PUBLIC_PROJECT_ID: 8dfc5cac972ee656e6edeb8309ab30ec
REACT_APP_RELAY_URL: wss://relay.walletconnect.com
WALLET_CONNECT_DEBUGGER: true
VITE_ALCHEMY_KEY: ${{env.VITE_ALCHEMY_KEY}}
VITE_WALLET_CONNECT_PROJECT_ID: ${{env.VITE_WALLET_CONNECT_PROJECT_ID}}
VITE_ORGANIZATION_ID: ${{env.VITE_ORGANIZATION_ID}}
VITE_TURNKEY_API_BASE_URL: ${{env.VITE_TURNKEY_API_BASE_URL}}
VITE_API_PUBLIC_KEY: ${{env.VITE_API_PUBLIC_KEY}}
VITE_API_PRIVATE_KEY: ${{env.VITE_API_PRIVATE_KEY}}
VITE_PIMLICO_API_KEY: ${{env.VITE_PIMLICO_API_KEY}}

- name: Setup Pages
uses: actions/configure-pages@v2
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Home } from './pages/Home';
import { Onboarding } from './pages/Onboarding';
import { useUserReservesIncentives } from './api';

import {
Box,
Expand All @@ -17,7 +16,6 @@ import { useAccountAdapter } from './hooks/useAccountAdapter';
export const App = () => {
const { account } = useAccountAdapter();

const { data: userReservesIncentives } = useUserReservesIncentives(account);
const { toggleColorMode } = useColorMode();

return (
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"private": true,
"scripts": {
"build": "dotenv -- turbo build",
"build:ci": "turbo build",
"dev": "dotenv -- turbo dev",
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
Expand Down
7 changes: 6 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDotEnv": [".env"],
"pipeline": {
"build": {
"dotEnv": [".env"],
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"build:ci": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"lint": {},
"dev": {
"dotEnv": [".env"],
"cache": false,
"persistent": true
}
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

"@aave/aave-utilities@https://github.com/grenos/aave-utilities.git#master":
version "4.2.0"
resolved "https://github.com/grenos/aave-utilities.git#7e34aa47f6e5b4754e2aea74cee2d81ee157f998"
resolved "https://github.com/grenos/aave-utilities.git#33652ab057172087a0d2d2c85ca8bee04ed3d831"

"@adraffy/[email protected]":
version "1.10.0"
Expand Down

0 comments on commit edd3f1d

Please sign in to comment.