Skip to content

Commit

Permalink
fix(ci): set NPM_CONFIG_PROVENANCE to true
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Aug 17, 2024
1 parent 07a5f50 commit 85c2d63
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
"pipe": true
},
{
"command": "pnpm publish --access public --loglevel silly --tag next --provenance --no-git-checks",
"dryRunCommand": "npm publish --dry-run --access public --provenance --no-git-checks",
"command": "pnpm publish --access public --loglevel silly --tag next --no-git-checks",
"dryRunCommand": "npm publish --dry-run --access public --no-git-checks",
"pipe": true
},
{
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
CARGO_AUDIT_OPTIONS: ${{ secrets.CARGO_AUDIT_OPTIONS }}
NPM_CONFIG_PROVENANCE: true
with:
command: 'version-or-publish'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-cli-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,9 @@ jobs:
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --tag next --provenance
npm publish --tag next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
RELEASE_ID: ${{ github.event.client_payload.releaseId || inputs.releaseId }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit 85c2d63

Please sign in to comment.