mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-17 16:23:58 +00:00
fix(bots/discord): ci issues causing database to not be auto generated
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
# This file should be triggered from the monorepo root
|
# This file should be triggered from the monorepo root
|
||||||
FROM oven/bun:latest AS base
|
FROM node:latest AS base
|
||||||
|
|
||||||
|
# Install Bun
|
||||||
|
RUN apt-get update && apt-get install -y curl unzip
|
||||||
|
RUN curl -fsSL https://bun.sh/install.sh | bash
|
||||||
|
ENV PATH="/root/.bun/bin:$PATH"
|
||||||
|
|
||||||
FROM base AS build
|
FROM base AS build
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"dev": "bun prepare && bun --watch src/index.ts",
|
"dev": "bun prepare && bun --watch src/index.ts",
|
||||||
"build": "bun prepare && bun run scripts/build.ts",
|
"build": "bun prepare && bun run scripts/build.ts",
|
||||||
"watch": "bun dev",
|
"watch": "bun dev",
|
||||||
"prepare": "bun run scripts/generate-indexes.ts && drizzle-kit generate --name=schema"
|
"prepare": "bun run scripts/generate-indexes.ts && bunx drizzle-kit generate --name=schema"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user