Skip to content

📦 Publish

📦 Publish #23

Workflow file for this run

name: Publish to npm registry
# Dependencies:
# - SocketDev/socket-registry/.github/workflows/provenance.yml
on:
workflow_dispatch:
inputs:
debug:
description: 'Enable debug output'
required: false
default: '0'
type: string
options:
- '0'
- '1'
permissions:
contents: write
id-token: write
jobs:
publish:
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@a912e5bd8ec469d2ee13abf592a6b2e5898c006c # main
with:
debug: ${{ inputs.debug }}
package-name: '@socketregistry/packageurl-js'
setup-script: 'pnpm run build'
use-trusted-publishing: true