Skip to content

Commit 4c2359b

Browse files
committed
Test out npm staged publishing
1 parent fd24a08 commit 4c2359b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ jobs:
125125
run: |
126126
if [ "${{ steps.version-check.outputs.is_prerelease }}" == "true" ]; then
127127
echo "Publishing untagged prerelease"
128-
npm publish --provenance --tag test
128+
npm stage publish --provenance --tag test
129129
# We have to publish with a tag (so we use 'test') but we can clean it up:
130130
npm dist-tag rm mockttp test --silent
131131
else
132132
echo "Publishing stable release with 'latest' tag"
133-
npm publish --provenance
133+
npm stage publish --provenance
134134
fi
135135

0 commit comments

Comments
 (0)