Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 17b2511

Browse files
committed
publish only on tag
1 parent 4a62420 commit 17b2511

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Publish
2-
on: [push]
2+
on:
3+
push:
4+
tags:
5+
- release/*
36
jobs:
47
build:
58
name: NPM Package
@@ -16,3 +19,4 @@ jobs:
1619
- run: yarn publish
1720
env:
1821
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
22+

0 commit comments

Comments
 (0)