fix: update Nix shell command to include pnpm package for installation

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

View file

@ -30,7 +30,13 @@ jobs:
- name: Install, build, and publish in Nix shell
run: |
source /etc/bashrc
nix shell --extra-experimental-features nix-command --extra-experimental-features flakes nixpkgs#nodejs_24 nixpkgs#pnpm -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 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"