ci: avoid triggering npm publish on any tag
This commit is contained in:
5
.github/workflows/publish-lib-to-npm.yml
vendored
5
.github/workflows/publish-lib-to-npm.yml
vendored
@ -1,8 +1,9 @@
|
||||
name: Publish package to NPM
|
||||
|
||||
on:
|
||||
create:
|
||||
tags: ['js-lib-v*']
|
||||
push:
|
||||
tags:
|
||||
- 'js-lib-v*'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
|
Reference in New Issue
Block a user