Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ambarltd/core",
"version": "0.1.16",
"version": "0.1.17",
"type": "module",
"repository": "https://github.com/ambarltd/typescript-libs.git",
"publishConfig": {
Expand Down
12 changes: 10 additions & 2 deletions task-explorer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ RUN : "${GITHUB_TOKEN:?Required build argument GITHUB_TOKEN not set}"

COPY ./frontend/package.json ./package.json
COPY ./.npmrc ./.npmrc
RUN --mount=type=cache,id=pnpm-store-${TARGETPLATFORM},target=/root/.local/share/pnpm/store pnpm install
# pnpm 10 ignores env-var auth in the repo .npmrc; use a literal token in ~/.npmrc (removed in-layer).
RUN --mount=type=cache,id=pnpm-store-${TARGETPLATFORM},target=/root/.local/share/pnpm/store \
echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc && \
pnpm install && \
rm -f ~/.npmrc

COPY ./frontend/src ./src
COPY ./frontend/public ./public
Expand All @@ -35,7 +39,11 @@ RUN : "${GITHUB_TOKEN:?Required build argument GITHUB_TOKEN not set}"

COPY ./backend/package.json ./package.json
COPY ./.npmrc ./.npmrc
RUN --mount=type=cache,id=pnpm-store-${TARGETPLATFORM},target=/root/.local/share/pnpm/store pnpm install
# pnpm 10 ignores env-var auth in the repo .npmrc; use a literal token in ~/.npmrc (removed in-layer).
RUN --mount=type=cache,id=pnpm-store-${TARGETPLATFORM},target=/root/.local/share/pnpm/store \
echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc && \
pnpm install && \
rm -f ~/.npmrc

COPY ./backend/src ./src
COPY ./backend/tests ./tests
Expand Down
Loading