www-apps/misskey: set pnpm cache dir
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2023-01-16 18:19:18 +01:00
parent 3723196392
commit 4a6d1d9108
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ src_prepare() {
export CYPRESS_CACHE_FOLDER="${T}"/packages-cache
export npm_config_cache="${T}"/packages-cache
export PNPMFLAGS="--verbose"
# use system node-gyp
PATH+=":/usr/lib64/node_modules/npm/bin/node-gyp-bin"
export npm_config_nodedir=/usr/include/node/
@ -87,6 +88,7 @@ src_prepare() {
"${T}"/bin/pnpm || die "Could not symlink pnpm.js"
PATH="${T}/bin:${PATH}"
fi
pnpm config set cache "${T}"/packages-cache
default
}