diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee87f1f..a1abffe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,30 +1,27 @@ name: "publish" -on: - push: +on: + push: branches: [ main ] - pull_request: - branches: [ main ] - -jobs: +jobs: publish: name: publishing runs-on: ubuntu-latest steps: - - name: checkout + - name: checkout uses: actions/checkout@v3.0.2 - - name: installation of node + - name: installation of node uses: actions/setup-node@v3 - with: + with: node-version: 14 registry-url: 'https://registry.npmjs.org' - + - name: publish run: | npm install npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + diff --git a/package.json b/package.json index 14870c1..a1bd703 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antmedia/react-native-ant-media", - "version": "1.0.6", + "version": "1.0.7", "description": "Ant Media Server WebRTC React Native SDK and Reference Project", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/samples/Conference/package.json b/samples/Conference/package.json index 87480c8..300fac8 100644 --- a/samples/Conference/package.json +++ b/samples/Conference/package.json @@ -10,7 +10,7 @@ "lint": "eslint ." }, "dependencies": { - "@antmedia/react-native-ant-media": "^1.0.5", + "@antmedia/react-native-ant-media": "^1.0.7", "react": "17.0.2", "react-native": "0.68.2", "react-native-eject": "^0.2.0", diff --git a/samples/DataChannel/package.json b/samples/DataChannel/package.json index 8075aae..5346665 100644 --- a/samples/DataChannel/package.json +++ b/samples/DataChannel/package.json @@ -10,7 +10,7 @@ "lint": "eslint ." }, "dependencies": { - "@antmedia/react-native-ant-media": "^1.0.5", + "@antmedia/react-native-ant-media": "^1.0.7", "react": "18.0.0", "react-native": "0.69.1", "react-native-webrtc": "111.0.0" diff --git a/samples/peer/package.json b/samples/peer/package.json index 5ee7421..140c862 100644 --- a/samples/peer/package.json +++ b/samples/peer/package.json @@ -10,7 +10,7 @@ "lint": "eslint ." }, "dependencies": { - "@antmedia/react-native-ant-media": "^1.0.5", + "@antmedia/react-native-ant-media": "^1.0.7", "react": "17.0.2", "react-native": "0.68.2", "react-native-incall-manager": "^4.0.0", diff --git a/samples/play/package.json b/samples/play/package.json index f429153..79bd560 100644 --- a/samples/play/package.json +++ b/samples/play/package.json @@ -10,7 +10,7 @@ "lint": "eslint ." }, "dependencies": { - "@antmedia/react-native-ant-media": "^1.0.5", + "@antmedia/react-native-ant-media": "^1.0.7", "react": "17.0.2", "react-native": "0.68.2", "react-native-webrtc": "111.0.0" diff --git a/samples/publish/package.json b/samples/publish/package.json index 948d123..09e4a59 100644 --- a/samples/publish/package.json +++ b/samples/publish/package.json @@ -10,7 +10,7 @@ "lint": "eslint ." }, "dependencies": { - "@antmedia/react-native-ant-media": "^1.0.5", + "@antmedia/react-native-ant-media": "^1.0.7", "react": "17.0.2", "react-native": "0.68.2", "react-native-incall-manager": "^4.0.0",