Skip to content
Merged
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
11 changes: 11 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ NEXT_PUBLIC_BLOCKFROST_API_KEY_PREPROD="your-blockfrost-preprod-api-key"
# DISCORD_CLIENT_SECRET="your-discord-client-secret"
# DISCORD_BOT_TOKEN="your-discord-bot-token"
# DISCORD_GUILD_ID="your-discord-guild-id"

# Optional: Email notifications via Resend
# RESEND_API_KEY="re_..."
# EMAIL_FROM="Mesh Multisig <notifications@your-domain.example>"
# EMAIL_REPLY_TO="support@your-domain.example"
# Optional: override notification email links. Required for localhost links when
# using `next start` locally (NODE_ENV is production). Defaults to
# http://localhost:3000 in `next dev` and the production site URL otherwise.
# NOTIFICATION_LINK_BASE_URL="http://localhost:3000"
# NOTIFICATION_DRAIN_SECRET="your-notification-drain-secret"
# NOTIFICATIONS_EMAIL_ENABLED="false"
10 changes: 8 additions & 2 deletions .github/workflows/trpc-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
trpc-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 25

services:
postgres:
Expand Down Expand Up @@ -46,8 +46,14 @@ jobs:
node-version: 22
cache: npm

- name: Use repo npm version
run: npm install -g "$(node -p 'require("./package.json").packageManager')" && npm --version

- name: Install dependencies
run: npm ci
run: npm ci --ignore-scripts

- name: Generate Prisma client
run: npx prisma generate

- name: Run database migrations
run: npx prisma migrate deploy
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
unit-tests:
name: Transaction builder unit tests
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20

steps:
- name: Checkout repository
Expand All @@ -25,8 +25,14 @@ jobs:
with:
node-version: 22

- name: Use repo npm version
run: npm install -g "$(node -p 'require("./package.json").packageManager')" && npm --version

- name: Install dependencies
run: npm ci
run: npm ci --ignore-scripts

- name: Generate Prisma client
run: npx prisma generate

- name: Run transaction builder tests
run: npm run test:ci -- --testPathPatterns="src/__tests__/tx-builders"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ yarn-error.log*
# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
.env
.env*.local
.env.playwright

# bot ref client config (contains secret)
scripts/bot-ref/bot-config.json
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ ENV NODE_OPTIONS=--experimental-wasm-modules
COPY package.json package-lock.json* ./
COPY prisma ./prisma
COPY prisma.config.ts ./
RUN npm ci
RUN npm install -g "$(node -p 'require("./package.json").packageManager')" \
&& npm --version
RUN npm ci --ignore-scripts
RUN npx prisma generate

# Copy full source for containerized CI runs.
COPY . .
Expand Down
Loading
Loading