Skip to content

Commit 686d83f

Browse files
committed
Update for dry run publish
1 parent dbcc0bf commit 686d83f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish-npm.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
echo "✅ Versions match explicitly: Git tag version and package.json version both are (${{ env.VERSION }})"
5252
fi
5353
54-
# - name: Publish to npm
55-
# working-directory: ./dist
56-
# env:
57-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Use npm token from repository secrets
58-
# run: npm publish
54+
- name: Publish to npm
55+
working-directory: ./dist
56+
env:
57+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Use npm token from repository secrets
58+
run: npm publish --dry-run

0 commit comments

Comments
 (0)