ci: fix bun install (no lockfile in repo, --frozen-lockfile unreliable)
Some checks failed
CI/CD / typecheck (push) Successful in 42s
CI/CD / test (push) Successful in 54s
CI/CD / lint (push) Successful in 10m48s
CI/CD / build (push) Successful in 1m21s
CI/CD / docker (push) Failing after 21s
CI/CD / publish-rpm (push) Successful in 38s
CI/CD / deploy (push) Has been skipped
Some checks failed
CI/CD / typecheck (push) Successful in 42s
CI/CD / test (push) Successful in 54s
CI/CD / lint (push) Successful in 10m48s
CI/CD / build (push) Successful in 1m21s
CI/CD / docker (push) Failing after 21s
CI/CD / publish-rpm (push) Successful in 38s
CI/CD / deploy (push) Has been skipped
There's no bun.lockb in the repo, so --frozen-lockfile fails intermittently when pnpm cache is unavailable. Use plain bun install. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -117,7 +117,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
# bun needs a flat node_modules (pnpm's strict layout breaks resolution)
|
# bun needs a flat node_modules (pnpm's strict layout breaks resolution)
|
||||||
bun install --frozen-lockfile
|
# No bun.lockb in repo, so --frozen-lockfile is unreliable
|
||||||
|
bun install
|
||||||
# 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