Skip to content

Commit 33bc55d

Browse files
committed
Add missing envvars
1 parent 8a83473 commit 33bc55d

File tree

5 files changed

+2363
-4815
lines changed

5 files changed

+2363
-4815
lines changed

.env.example

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,13 @@ TIPS_MAINTENANCE_RPC_NODE=http://localhost:2222
2626
TIPS_MAINTENANCE_KAFKA_BROKERS=localhost:9092
2727
TIPS_MAINTENANCE_KAFKA_TOPIC=tips-audit
2828
TIPS_MAINTENANCE_POLL_INTERVAL_MS=250
29-
TIPS_MAINTENANCE_LOG_LEVEL=info
29+
TIPS_MAINTENANCE_LOG_LEVEL=info
30+
31+
# TIPS UI
32+
TIPS_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
33+
TIPS_UI_AWS_REGION=us-east-1
34+
TIPS_UI_S3_BUCKET_NAME=tips
35+
TIPS_UI_S3_CONFIG_TYPE=manual
36+
TIPS_UI_S3_ENDPOINT=http://localhost:7000
37+
TIPS_UI_S3_ACCESS_KEY_ID=minioadmin
38+
TIPS_UI_S3_SECRET_ACCESS_KEY=minioadmin

.github/workflows/ui.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
- uses: actions/setup-node@v4
2020
with:
2121
node-version: '20'
22-
cache: 'npm'
23-
cache-dependency-path: ui/package-lock.json
22+
cache: 'yarn'
23+
cache-dependency-path: ui/yarn.lock
2424
- run: cp .env.example ui/.env
25-
- run: cd ui && npm ci
26-
- run: cd ui && npm run lint
25+
- run: cd ui && yarn install
26+
- run: cd ui && yarn lint
2727

2828
type-check:
2929
name: Type Check
@@ -33,10 +33,10 @@ jobs:
3333
- uses: actions/setup-node@v4
3434
with:
3535
node-version: '20'
36-
cache: 'npm'
37-
cache-dependency-path: ui/package-lock.json
36+
cache: 'yarn'
37+
cache-dependency-path: ui/yarn.lock
3838
- run: cp .env.example ui/.env
39-
- run: cd ui && npm ci
39+
- run: cd ui && yarn install
4040
- run: cd ui && npx tsc --noEmit
4141

4242
build:
@@ -47,8 +47,8 @@ jobs:
4747
- uses: actions/setup-node@v4
4848
with:
4949
node-version: '20'
50-
cache: 'npm'
51-
cache-dependency-path: ui/package-lock.json
50+
cache: 'yarn'
51+
cache-dependency-path: ui/yarn.lock
5252
- run: cp .env.example ui/.env
53-
- run: cd ui && npm ci
54-
- run: cd ui && npm run build
53+
- run: cd ui && yarn install
54+
- run: cd ui && yarn build

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ Thumbs.db
1919
# Environment variables
2020
.env
2121
/ui/.env
22+
23+
# Claude
24+
/.claude
25+
/ui/.claude

0 commit comments

Comments
 (0)