Skip to content

Commit 85c2d63

Browse files
committed
fix(ci): set NPM_CONFIG_PROVENANCE to true
1 parent 07a5f50 commit 85c2d63

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.changes/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
"pipe": true
114114
},
115115
{
116-
"command": "pnpm publish --access public --loglevel silly --tag next --provenance --no-git-checks",
117-
"dryRunCommand": "npm publish --dry-run --access public --provenance --no-git-checks",
116+
"command": "pnpm publish --access public --loglevel silly --tag next --no-git-checks",
117+
"dryRunCommand": "npm publish --dry-run --access public --no-git-checks",
118118
"pipe": true
119119
},
120120
{

.github/workflows/covector-version-or-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
env:
9393
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
9494
CARGO_AUDIT_OPTIONS: ${{ secrets.CARGO_AUDIT_OPTIONS }}
95+
NPM_CONFIG_PROVENANCE: true
9596
with:
9697
command: 'version-or-publish'
9798
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-cli-js.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,9 @@ jobs:
390390
- name: Publish
391391
run: |
392392
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
393-
npm publish --tag next --provenance
393+
npm publish --tag next
394394
env:
395395
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
396396
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
397397
RELEASE_ID: ${{ github.event.client_payload.releaseId || inputs.releaseId }}
398+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)