Merge pull request 'fix: force public npm registry for pnpm self-installer bootstrap' (#33) from bugfix/pnpm-bootstrap-registry into main

Reviewed-on: #33
Reviewed-by: Maier David - J. Schmalz GmbH <david.maier@noreply.schmalz-git.git.onstackit.cloud>
This commit is contained in:
Michael.Seele@schmalz.de 2026-05-22 08:41:28 +00:00
commit 0473d4bc1d
Signed by: schmalz-git.git.onstackit.cloud
GPG key ID: 569DFBE669A0D544

View file

@ -50,6 +50,12 @@ runs:
# pnpm/action-setup v4.3.0 — https://code.forgejo.org/pnpm/action-setup/commits/tag/v4.3.0
- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1
env:
# Override any registry configured in .npmrc (e.g. JFrog or Nexus).
# pnpm/action-setup bootstraps itself via npm before pnpm is available,
# so it must reach the public npm registry. Auth for private registries
# is configured in a later step, after pnpm is installed.
NPM_CONFIG_REGISTRY: https://registry.npmjs.org
with:
version: ${{ inputs.pnpm-version }}