fix(ci): use pnpm ci instead of pnpm install

This commit is contained in:
zkldi
2022-06-01 14:09:59 +01:00
parent b196c75f0f
commit 99aed6410d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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"]