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

Commit 8e0ed98

Browse files
author
prostarz
committed
ci(release): trigger workflow on master push and package.json changes
Update the GitHub Actions workflow to trigger releases when pushing to master branch and package.json changes, instead of only on tag pushes. This provides more flexibility in release management.
1 parent b0492e9 commit 8e0ed98

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: Release and Publish
22

33
on:
44
push:
5-
tags:
6-
- "v*"
5+
branches:
6+
- master
7+
paths:
8+
- 'package.json'
79
workflow_dispatch:
810

911
permissions:
@@ -59,4 +61,4 @@ jobs:
5961
uses: JS-DevTools/npm-publish@v3
6062
with:
6163
token: ${{ secrets.NPM_TOKEN }}
62-
access: public
64+
access: public

0 commit comments

Comments
 (0)