Skip to content

Commit aa3abea

Browse files
committed
update workflow
1 parent 37aa90b commit aa3abea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish-to-npm.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# Adapted from https://sergiodxa.com/articles/github-actions-npm-publish/
2-
31
name: Publish to NPM
42

53
# Controls when the action will run. Triggers the workflow on each new publish
64
on:
7-
release:
8-
types: [published]
5+
push:
6+
tags:
7+
- "*"
98

109
jobs:
1110
build-and-publish:

0 commit comments

Comments
 (0)