build: move the dashboard and e2e packages from npm to pnpm
This commit is contained in:
16 files changed
+2700
-3644
No files matched your search
@@ -70,11 +70,11 @@ fs.writeFileSync(p, JSON.stringify(s, null, 2) + "\n");
|
||||
# tools onto the default PATH instead.
|
||||
$SUDO ln -sf /usr/local/go/bin/* "$GOBIN"/* /usr/local/bin/
|
||||
|
||||
# Warm module and npm caches when the checkout is already present.
|
||||
# Warm module and pnpm caches when the checkout is already present.
|
||||
repo=${CLAUDE_PROJECT_DIR:-$PWD}
|
||||
if [ -f "$repo/go.mod" ] && grep -q archie-core "$repo/go.mod"; then
|
||||
(cd "$repo" && go mod download && go -C tools mod download)
|
||||
(cd "$repo/ui" && npm ci --no-audit --no-fund)
|
||||
(cd "$repo/ui" && corepack enable pnpm && pnpm install --frozen-lockfile)
|
||||
fi
|
||||
|
||||
go version
|
||||
|
||||
Reference in new issue
Block a user