We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58c6c42 commit ee7dd6cCopy full SHA for ee7dd6c
1 file changed
.github/workflows/npm-publish.yml
@@ -1,4 +1,4 @@
1
-name: Publish to NPM
+Name: Publish to NPM
2
3
on:
4
push:
@@ -36,12 +36,17 @@ jobs:
36
run: npm run build
37
38
- name: Conditional version bump and publish
39
- run: |
+
40
+ run: |
41
+ git config --global user.name "github-actions[bot]"
42
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
43
44
if [[ ${{ github.ref }} == refs/tags/* ]]; then
45
echo "Tag push - langsung publish tanpa bump version"
46
npm publish --access public
47
else
48
echo "Regular push - bump version dan publish"
49
50
npm version patch -m "ci: bump version to %s [skip ci]"
51
52
fi
0 commit comments