From 2e8211c2ad57e226b1bbdcf35e4020f0274d3a38 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sat, 1 Mar 2025 11:56:17 +0100 Subject: [PATCH] devops: separate deps installation for site build - project dep tsc is needed before local deps build - site workspace deps installation is needed before site build --- .build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.build.yml b/.build.yml index 49c7b55..52a2617 100644 --- a/.build.yml +++ b/.build.yml @@ -15,15 +15,16 @@ tasks: cd ~/"${REPO}" git config --global credential.helper store git push --mirror "https://github.com/${GH_USER}/${REPO}" + - install-deps: | + cd ~/"${REPO}" + pnpm i --ignore-scripts - build-local-deps: | cd ~/"${REPO}" pnpm -F ./packages/core build pnpm -F ./packages/config build - - install-deps: | - cd ~/"${REPO}" - pnpm i --ignore-scripts - build: | cd ~/"${REPO}" + pnpm -F site i --ignore-scripts pnpm -F site build - deploy: | cd mcfly