Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/provenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
inputs:
debug:
description: 'Enable debug output'
description: "Enable debug output"
required: false
default: '0'
default: "0"
type: string
options:
- '0'
- '1'
- "0"
- "1"
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -27,10 +27,10 @@ jobs:
run_install: false
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
node-version: "22"
registry-url: "https://registry.npmjs.org"
cache: pnpm
scope: '@socketsecurity'
scope: "@socketsecurity"
- run: pnpm install --frozen-lockfile
- run: INLINED_SOCKET_CLI_PUBLISHED_BUILD=1 pnpm run build:dist
- run: pnpm publish --provenance --access public
Expand All @@ -40,6 +40,8 @@ jobs:
- run: INLINED_SOCKET_CLI_PUBLISHED_BUILD=1 INLINED_SOCKET_CLI_LEGACY_BUILD=1 pnpm run build:dist
env:
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
- run: git status
- run: git diff
- run: pnpm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
Loading