diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 000000000..f62d7ed59 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,30 @@ +name: Publish +on: + push: + branches: + - master + pull_request: +jobs: + build: + strategy: + matrix: + os: ubuntu-latest + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: 18 + cache: 'yarn' + - name: Install npm dependencies + run: yarn --frozen-lockfile + shell: bash + - name: Publish + run: | + export GH_TOKEN=${{ secrets.GH_TOKEN }} + export NPM_TOKEN=${{ secrets.NPM_TOKEN }} + yarn install + yarn ci:publish + timeout-minutes: 60 diff --git a/package.json b/package.json index d5aeccdc2..32ee2b459 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,16 @@ { - "name": "react-native-webview", + "name": "react-native-webview-multi", "description": "React Native WebView component for iOS, Android, macOS, and Windows", "main": "index.js", "main-internal": "src/index.ts", "typings": "index.d.ts", - "author": "Jamon Holmgren ", + "author": "codintop ", "contributors": [ - "Thibault Malbranche " + "codintop " ], "license": "MIT", "version": "13.6.0", - "homepage": "https://github.com/react-native-webview/react-native-webview#readme", + "homepage": "https://github.com/CodinDotTop/react-native-webview#readme", "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", @@ -72,7 +72,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/react-native-webview/react-native-webview.git" + "url": "https://github.com/CodinDotTop/react-native-webview.git" }, "files": [ "android/src",