shared-actions/pnpm-build
2026-04-24 15:57:40 +02:00
..
action.yml refactor: move action to repo root 2026-04-24 15:57:40 +02:00
README.md refactor: move action to repo root 2026-04-24 15:57:40 +02:00

pnpm-build

Set up pnpm, authenticate with JFrog npm registry, install dependencies, and run build scripts.

Inputs

Input Required Default Description
jfrog-token Yes JFrog npm auth token
working-directory No . Directory containing package.json
pnpm-version No 10.14 pnpm version
node-version No 22 Node.js version
run-scripts No ci,typecheck,build Comma-separated list of pnpm run scripts
frozen-lockfile No true Pass --frozen-lockfile to pnpm install
check-dedupe No true Run pnpm dedupe --check

Usage

- uses: schmalz/shared-actions/.github/actions/pnpm-build@v1
  with:
    jfrog-token: ${{ secrets.JFROG_TOKEN }}

Notes

  • pnpm store cache is restored/saved automatically using pnpm-lock.yaml hash.
  • Registry is set to schmalz.jfrog.io.