Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
VITE_PRIVY_APP_ID=your-privy-app-id
# Set to "true" for Hyperliquid testnet, "false" for mainnet
VITE_HYPERLIQUID_TESTNET=true

TURNSTILE_SITE_KEY=use-turnstile-key-from-usdh
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
lint-test-build:
name: Lint, test, build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9.15.0

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- run: pnpm install

- name: Lint
run: pnpm run check

- name: Test
run: pnpm run test

- name: Build
run: pnpm run build
env:
# Placeholder so build succeeds; set VITE_PRIVY_APP_ID in repo secrets for real builds
VITE_PRIVY_APP_ID: "ci-placeholder"
VITE_HYPERLIQUID_TESTNET: "true"
57 changes: 0 additions & 57 deletions .github/workflows/claude-code-review.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/i18n-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,30 @@ jobs:

- uses: pnpm/action-setup@v4
with:
version: 9
version: 9.15.0

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- run: pnpm install --frozen-lockfile
- run: pnpm install

- name: Extract translations
run: pnpm i18n:extract

- name: Check for uncommitted changes
run: |
if ! git diff --quiet src/locales/**/*.po; then
if ! git diff --quiet -- src/locales/; then
echo "::error::Translation catalogs are out of date."
echo ""
echo "Run 'pnpm i18n:extract' locally and commit the changes."
echo ""
echo "Changed files:"
git diff --name-only src/locales/**/*.po
git diff --name-only -- src/locales/
echo ""
echo "Diff:"
git diff src/locales/**/*.po
git diff -- src/locales/
exit 1
fi
echo "Translation catalogs are up to date."
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "hypeterminal",
"private": true,
"type": "module",
"packageManager": "pnpm@9.15.0",
"scripts": {
"dev": "vite dev",
"build": "lingui compile && vite build",
Expand All @@ -26,6 +27,8 @@
"@lingui/react": "5.7.0",
"@nktkas/hyperliquid": "0.31.0",
"@phosphor-icons/react": "2.1.10",
"@privy-io/react-auth": "^3.17.0",
"@privy-io/wagmi": "^4.0.2",
"@tanstack/react-query": "5.66.5",
"@tanstack/react-router": "1.132.0",
"@tanstack/react-router-ssr-query": "1.131.7",
Expand All @@ -49,6 +52,7 @@
"tw-animate-css": "1.4.0",
"vaul": "1.1.2",
"viem": "2.42.1",
"vite-plugin-node-polyfills": "^0.25.0",
"wagmi": "3.1.0",
"zod": "4.3.4",
"zustand": "5.0.9"
Expand Down
Loading
Loading