Enable Corepack and install dependencies in dev-container
Some checks failed
Build / Build linux/arm64 (push) Has been cancelled
Build / Build linux/amd64 (push) Has been cancelled
Build / Merge Docker digests and push (push) Has been cancelled
Close inactive issues / close-issues (push) Has been cancelled

DEV CONTAINER:

This change enables GitHub Codespaces support by preventing Corepack from prompting during the non-interactive postCreateCommand.

Corepack is explicitly enabled and the required Yarn version is prepared ahead of time so yarn install can run without an interactive confirmation prompt.
This commit is contained in:
ydkmlt84
2026-01-09 14:56:09 -06:00
committed by GitHub
parent 764dd29104
commit 5b5af41a11

View File

@@ -17,6 +17,8 @@ echo "📂 Working directory: ${WORKSPACE_DIR}"
# Install dependencies
echo "📥 Installing dependencies (this may take a few minutes)..."
corepack enable
corepack install
yarn install
# Create data directory if it doesn't exist