We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e189b56 commit a2c7df4Copy full SHA for a2c7df4
1 file changed
.github/workflows/publish.yml
@@ -90,6 +90,7 @@ jobs:
90
needs: test
91
runs-on: ubuntu-latest
92
if: startsWith(github.ref, 'refs/tags/')
93
+ environment: npm
94
steps:
95
- uses: actions/checkout@v5
96
- uses: actions/setup-node@v5
@@ -115,10 +116,8 @@ jobs:
115
116
for dir in npm/*; do
117
if [ -d "$dir" ]; then
118
echo "Publishing $dir..."
- (cd "$dir" && npm publish --access public)
119
+ (cd "$dir" && npm publish --provenance --access public)
120
fi
121
done
122
echo "Publishing root package..."
- npm publish --access public
123
- env:
124
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ npm publish --provenance --access public
0 commit comments