Skip to content

Commit 6380947

Browse files
committed
Fix provenance
1 parent 8ee6de2 commit 6380947

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/provenance.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,26 @@ jobs:
2424
- uses: SocketDev/socket-registry/.github/actions/setup@1543e937143cf84e5161ad18c04cbd99c8a4c6d8
2525
with:
2626
scope: '@socketsecurity'
27+
- run: npm install -g npm@latest
2728
- run: pnpm install
2829
- run: INLINED_SOCKET_CLI_PUBLISHED_BUILD=1 pnpm run build:dist
29-
- run: pnpm publish --provenance --access public --no-git-checks
30+
- run: npm publish --provenance --access public --no-git-checks
3031
continue-on-error: true
3132
env:
3233
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3334
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
3435
- run: INLINED_SOCKET_CLI_PUBLISHED_BUILD=1 INLINED_SOCKET_CLI_LEGACY_BUILD=1 pnpm run build:dist
3536
env:
3637
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
37-
- run: pnpm publish --provenance --access public --no-git-checks
38+
- run: npm publish --provenance --access public --no-git-checks
3839
continue-on-error: true
3940
env:
4041
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4142
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
4243
- run: INLINED_SOCKET_CLI_PUBLISHED_BUILD=1 INLINED_SOCKET_CLI_SENTRY_BUILD=1 pnpm run build:dist
4344
env:
4445
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
45-
- run: pnpm publish --provenance --access public --no-git-checks
46+
- run: npm publish --provenance --access public --no-git-checks
4647
continue-on-error: true
4748
env:
4849
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)