Merge pull request #4 from pikasTech/fix/apistate-runtime-cli-deps
Pipelines as Code CI / sub2rank-nc01-cc3ec3b1b3a92b4caf7ac1ee2210281357873e3f Success
Pipelines as Code CI / sub2rank-nc01-cc3ec3b1b3a92b4caf7ac1ee2210281357873e3f Success
fix: 补齐评分 CLI 运行依赖
This commit is contained in:
@@ -2,6 +2,10 @@ FROM oven/bun:1.2.21-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends ca-certificates curl \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY package.json bun.lock ./
|
COPY package.json bun.lock ./
|
||||||
RUN bun install --frozen-lockfile --production
|
RUN bun install --frozen-lockfile --production
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -124,7 +124,7 @@ async function remote(parsed: Parsed, config: ReturnType<typeof loadConfig>, tar
|
|||||||
checks: {
|
checks: {
|
||||||
status: status.ok === true,
|
status: status.ok === true,
|
||||||
scores: scores.ok === true,
|
scores: scores.ok === true,
|
||||||
refresh: refreshed.ok === true,
|
refresh: refreshed.ok === true && refreshed.snapshotOk === true,
|
||||||
ranking: ranking.ok === true,
|
ranking: ranking.ok === true,
|
||||||
lottery: lottery.ok === true,
|
lottery: lottery.ok === true,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user