diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c84c970..adedbf1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,7 +1,7 @@ on: push: - branches: ["main", "npm-latest-publish"] - pull-request: + branches: ["main", "feature/raisa-cicd", "npm-latest-publish"] + pull_request: branches: ["main", "npm-latest-publish"] jobs: @@ -9,6 +9,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Publish npm package when version is updated - uses: actions/checkout@v4 - with: - node_version: "20" \ No newline at end of file + uses: JS-DevTools/npm-publish@v3 + with: + token: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/slack-notify.yml b/.github/workflows/slack-notify.yml index 784c86d..0b1f7d0 100644 --- a/.github/workflows/slack-notify.yml +++ b/.github/workflows/slack-notify.yml @@ -2,7 +2,7 @@ name: Slack Notification of CI Status on: push: - branches: ["main"] + branches: ["main", "feature/raisa-cicd"] pull_request: branches: ["main"] diff --git a/package.json b/package.json index 296de7c..29dc11a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "rtconnect", - "version": "0.0.54", + "name": "rtc-test-run", + "version": "0.1.6", "description": "A lightweight React library to set up live streaming and real-time video calls with peers.", "main": "./dist/src/index.js", "types": "./dist/src/index.d.ts",