fix: streamline Nix shell commands by removing unnecessary PNPM_HOME setup

This commit is contained in:
암냥 2026-04-05 19:29:12 +09:00
commit b91d5050e9
No known key found for this signature in database

View file

@ -32,12 +32,10 @@ jobs:
source /etc/bashrc
nix shell --extra-experimental-features nix-command --extra-experimental-features flakes nixpkgs#nodejs_24 -c sh -lc '
export COREPACK_HOME="$PWD/.corepack"
export PNPM_HOME="$PWD/.pnpm-home"
export PATH="$PNPM_HOME:$PATH"
mkdir -p "$COREPACK_HOME" "$PNPM_HOME"
corepack enable
corepack prepare pnpm@10.28.0 --activate
pnpm install --frozen-lockfile
pnpm build
pnpm publish --no-git-checks --registry "$REGISTRY_URL"
export XDG_CACHE_HOME="$PWD/.cache"
mkdir -p "$COREPACK_HOME" "$XDG_CACHE_HOME"
corepack prepare pnpm@10.28.0
corepack pnpm install --frozen-lockfile
corepack pnpm build
corepack pnpm publish --no-git-checks --registry "$REGISTRY_URL"
'