Skip to content

Commit 9a94d46

Browse files
author
Fernando Ledesma
committed
add support for CI e2e testing
1 parent 95a2d57 commit 9a94d46

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

mdk-nextjs-demo/.dockerignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Dependencies
2+
node_modules
3+
4+
# Build output
5+
.next
6+
7+
# Dev files
8+
*.log
9+
.DS_Store

mdk-nextjs-demo/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ RUN apk add --no-cache curl libc6-compat jq
1212
# Copy package files
1313
COPY package.json package-lock.json* ./
1414

15+
# Copy local tarball dependencies (created by CI when testing PRs from mdk-checkout)
16+
# These files are always created by the e2e-reusable workflow before building this image.
17+
# The workflow renames the packed tarballs to these exact names (lines 67-68 in e2e-reusable.yml)
18+
COPY moneydevkit-core-local.tgz ./
19+
COPY moneydevkit-nextjs-local.tgz ./
20+
1521
# Install dependencies
1622
RUN npm install
1723

0 commit comments

Comments
 (0)