MovixOpenSource/.github
Claude 6563874ee2
ci: fix Metro UnableToResolveError - generate userscript before build
src/injection/userscript-source.ts is .gitignored (generated from
userscript/movix.user.js). Metro bundler fails at bundle phase with
UnableToResolveError when it tries to import ./userscript-source.
Add `npm run build:userscript` step after npm ci to generate the file.

Also: pipe xcodebuild through tee to save raw log + use ${PIPESTATUS[0]}
for correct exit code propagation. Upload raw log as artifact on failure
to expose the full error without xcpretty truncation.

https://claude.ai/code/session_01X52sah6aUu3ou26uJWHgzr
2026-06-11 13:53:46 +00:00
..
workflows ci: fix Metro UnableToResolveError - generate userscript before build 2026-06-11 13:53:46 +00:00