chore(ci): update publish

This commit is contained in:
darksaid98 committed 2024-05-10 16:44:53 +02:00
1 parent d93eba9f8a
commit 974939805f
1 file changed
+1
+1
View File
@@ -469,6 +469,7 @@ jobs:
shell: bash shell: bash
- name: Publish - name: Publish
run: | run: |
npm config set provenance true
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$"; if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
then then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc