Skip to content

Commit b17da38

Browse files
committed
fix(ci): skip prepack on npm publish — dist+cdn already staged by build job
The deploy job downloads artifacts from build-emception which already contain packages/core/dist and packages/core/cdn (staged via the explicit 'Stage CDN into emception package' step). Running prepack again calls stage-core-cdn.mjs which now throws if build/cdn is absent (P0' change), because build/cdn is never created in the deploy job. --ignore-scripts is safe: all outputs are already built and staged.
1 parent 2afacac commit b17da38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ jobs:
437437
fi
438438
439439
echo "📦 Publishing ${NAME}@${VERSION}"
440-
npm publish --workspace="${NAME}" --access public
440+
npm publish --workspace="${NAME}" --access public --ignore-scripts
441441
done
442442
env:
443443
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)