fix: deploy
Some checks failed
CI - Lint, Typecheck & Test / quality-assurance (push) Failing after 7m28s
Some checks failed
CI - Lint, Typecheck & Test / quality-assurance (push) Failing after 7m28s
This commit is contained in:
@@ -10,10 +10,12 @@ RUN npm install -g pnpm@10
|
||||
|
||||
# Install dependencies based on the preferred package manager
|
||||
COPY package.json pnpm-lock.yaml* ./
|
||||
ARG REGISTRY_HOST
|
||||
ARG NPM_TOKEN
|
||||
RUN if [ -n "$NPM_TOKEN" ]; then \
|
||||
echo "@mintel:registry=https://npm.infra.mintel.me" > .npmrc && \
|
||||
echo "//npm.infra.mintel.me/:_authToken=$NPM_TOKEN" >> .npmrc; \
|
||||
REGISTRY="${REGISTRY_HOST:-npm.infra.mintel.me}" && \
|
||||
echo "@mintel:registry=https://$REGISTRY" > .npmrc && \
|
||||
echo "//$REGISTRY/:_authToken=$NPM_TOKEN" >> .npmrc; \
|
||||
fi
|
||||
RUN --mount=type=cache,target=/root/.local/share/pnpm/store pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user