Skip to content

Commit 82c97f5

Browse files
committed
ci(astro): smoke-test expects Image.astro at dist/ not src/ (v0.1.2 layout)
1 parent 72c87ff commit 82c97f5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish-astro.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,10 @@ jobs:
141141
(cd astro && npm pack --pack-destination "$SMOKE")
142142
mkdir "$SMOKE/extract"
143143
tar xzf "$SMOKE/run402-astro-$NEW.tgz" -C "$SMOKE/extract"
144-
# Required artifacts:
145-
test -f "$SMOKE/extract/package/src/Image.astro" || (echo "Missing Image.astro" && exit 1)
144+
# Required artifacts. Image.astro moved from src/ to dist/ in
145+
# v0.1.2 (kychee-com/run402-private#396) so the build step can
146+
# ship it as a peer of the JS modules it imports.
147+
test -f "$SMOKE/extract/package/dist/Image.astro" || (echo "Missing dist/Image.astro" && exit 1)
146148
test -f "$SMOKE/extract/package/dist/index.js" || (echo "Missing dist/index.js" && exit 1)
147149
test -f "$SMOKE/extract/package/dist/index.d.ts" || (echo "Missing dist/index.d.ts" && exit 1)
148150
test -f "$SMOKE/extract/package/README.md" || (echo "Missing README" && exit 1)

0 commit comments

Comments
 (0)