fix: update Nix shell command to include pnpm package for installation
This commit is contained in:
parent
3e85d21dff
commit
d618b1a158
1 changed files with 7 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue