Skip to content

📦 Publish

📦 Publish #131

Workflow file for this run

name: 📦 Publish
# 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 # Push git tags and create GitHub releases
id-token: write # NPM trusted publishing via OIDC
jobs:
publish:
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@ceab1e26610aa29511b85a7eb369ed2248d8543c # main
with:
debug: ${{ inputs.debug }}
package-name: '@socketsecurity/lib'
setup-script: 'pnpm run build'
use-trusted-publishing: true
secrets:
SOCKET_API_KEY: ${{ secrets.SOCKET_API_TOKEN }}