ci: run bun install before compile (pnpm strict layout fix)
Some checks failed
CI/CD / typecheck (push) Successful in 47s
CI/CD / lint (push) Successful in 11m5s
CI/CD / test (push) Successful in 12m5s
CI/CD / build (push) Failing after 1m26s
CI/CD / docker (push) Has been skipped
CI/CD / publish-rpm (push) Has been skipped
CI/CD / deploy (push) Has been skipped
Some checks failed
CI/CD / typecheck (push) Successful in 47s
CI/CD / lint (push) Successful in 11m5s
CI/CD / test (push) Successful in 12m5s
CI/CD / build (push) Failing after 1m26s
CI/CD / docker (push) Has been skipped
CI/CD / publish-rpm (push) Has been skipped
CI/CD / deploy (push) Has been skipped
bun can't resolve transitive deps through pnpm's symlinked node_modules. Running bun install creates a flat layout bun can resolve from. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -116,6 +116,8 @@ jobs:
|
|||||||
- name: Bundle standalone binaries
|
- name: Bundle standalone binaries
|
||||||
run: |
|
run: |
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
|
# bun needs a flat node_modules (pnpm's strict layout breaks resolution)
|
||||||
|
bun install --frozen-lockfile
|
||||||
# Stub for optional dep that bun tries to resolve
|
# Stub for optional dep that bun tries to resolve
|
||||||
if [ ! -e node_modules/react-devtools-core ]; then
|
if [ ! -e node_modules/react-devtools-core ]; then
|
||||||
ln -s ../src/cli/stubs/react-devtools-core node_modules/react-devtools-core
|
ln -s ../src/cli/stubs/react-devtools-core node_modules/react-devtools-core
|
||||||
|
|||||||
Reference in New Issue
Block a user