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 source /etc/bashrc
nix shell --extra-experimental-features nix-command --extra-experimental-features flakes nixpkgs#nodejs_24 -c sh -lc ' nix shell --extra-experimental-features nix-command --extra-experimental-features flakes nixpkgs#nodejs_24 -c sh -lc '
export COREPACK_HOME="$PWD/.corepack" export COREPACK_HOME="$PWD/.corepack"
export PNPM_HOME="$PWD/.pnpm-home" export XDG_CACHE_HOME="$PWD/.cache"
export PATH="$PNPM_HOME:$PATH" mkdir -p "$COREPACK_HOME" "$XDG_CACHE_HOME"
mkdir -p "$COREPACK_HOME" "$PNPM_HOME" corepack prepare pnpm@10.28.0
corepack enable corepack pnpm install --frozen-lockfile
corepack prepare pnpm@10.28.0 --activate corepack pnpm build
pnpm install --frozen-lockfile corepack pnpm publish --no-git-checks --registry "$REGISTRY_URL"
pnpm build
pnpm publish --no-git-checks --registry "$REGISTRY_URL"
' '