Skip to content

Commit ad215da

Browse files
committed
Use npx instead of pnpm for publishing with provenance
1 parent e679dbf commit ad215da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,14 @@ jobs:
4949
version: pnpm changeset version
5050
# Publishes packages when version PR is merged
5151
# Using --provenance for npm Trusted Publishers
52-
publish: pnpm changeset publish --provenance
52+
publish: npx changeset publish --provenance
5353
# Commit message for version PR
5454
commit: 'chore: version packages'
5555
# Title for version PR
5656
title: 'chore: version packages'
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
NPM_CONFIG_PROVENANCE: true
5960

6061
- name: Create GitHub Release
6162
if: steps.changesets.outputs.published == 'true'

0 commit comments

Comments
 (0)