Skip to content

Commit

Permalink
added workflow to automate npm package publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
fraisai committed Nov 29, 2023
1 parent a90933c commit 3318552
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Automate NPM Package Publish

on:
push:
branches: ["main", "feature/raisa-cicd", "npm-latest-publish"]
branches: ["main", "npm-latest-publish"]
pull_request:
branches: ["main", "npm-latest-publish"]

Expand All @@ -17,4 +19,7 @@ jobs:
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
strategy: upgrade
strategy: upgrade


# https://github.com/JS-DevTools/npm-publish
2 changes: 1 addition & 1 deletion .github/workflows/rtconnect-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: RTConnect CI

on:
push:
branches: [ "main", "feature/raisa-cicd"]
branches: [ "main"]
pull_request:
branches: [ "main" ]

Expand Down

0 comments on commit 3318552

Please sign in to comment.