Skip to content

Commit 490e7bc

Browse files
committed
fix: only trigger npm publish on tag
1 parent e975130 commit 490e7bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Publish to npm
22

33
on:
44
push:
5-
branches:
6-
- main
5+
tags:
6+
- 'v*'
77

88
jobs:
99
build:

0 commit comments

Comments
 (0)