mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-10 16:28:17 +03:00
fix(ci): use pnpm ci instead of pnpm install
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ jobs:
|
||||
version: 6.0.2
|
||||
|
||||
- name: Install Dependencies
|
||||
run: pnpm i
|
||||
run: pnpm ci
|
||||
|
||||
# configure external dbs
|
||||
- uses: supercharge/mongodb-github-action@1.4.1
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ WORKDIR /app
|
||||
COPY --chown=node:node . /app
|
||||
RUN npm install --silent -g pnpm@6 && groupmod -g 1003 node && chown node:node /app
|
||||
USER node
|
||||
RUN pnpm install --silent --frozen-lockfile && pnpm build && pnpm prune --silent --production && pnpm store prune --silent
|
||||
RUN pnpm ci --silent --frozen-lockfile && pnpm build && pnpm prune --silent --production && pnpm store prune --silent
|
||||
HEALTHCHECK --interval=15s --timeout=5s CMD curl -f http://localhost:8080/api/v1/status || exit 1
|
||||
ENV NODE_PATH=js/
|
||||
CMD ["node", "js/main.js"]
|
||||
|
||||
Reference in New Issue
Block a user