Skip to content

Commit 3318552

Browse files
committed
added workflow to automate npm package publishing
1 parent a90933c commit 3318552

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
name: Automate NPM Package Publish
2+
13
on:
24
push:
3-
branches: ["main", "feature/raisa-cicd", "npm-latest-publish"]
5+
branches: ["main", "npm-latest-publish"]
46
pull_request:
57
branches: ["main", "npm-latest-publish"]
68

@@ -17,4 +19,7 @@ jobs:
1719
uses: JS-DevTools/npm-publish@v3
1820
with:
1921
token: ${{ secrets.NPM_TOKEN }}
20-
strategy: upgrade
22+
strategy: upgrade
23+
24+
25+
# https://github.com/JS-DevTools/npm-publish

.github/workflows/rtconnect-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: RTConnect CI
55

66
on:
77
push:
8-
branches: [ "main", "feature/raisa-cicd"]
8+
branches: [ "main"]
99
pull_request:
1010
branches: [ "main" ]
1111

0 commit comments

Comments
 (0)