diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml new file mode 100644 index 0000000..916afe3 --- /dev/null +++ b/.github/workflows/gradle-publish.yml @@ -0,0 +1,21 @@ +name: Publish package +on: + push +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' + - run: yarn + - run: yarn lint + - run: yarn build + - run: yarn lerna:publish from-package --yes + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/lerna.json b/lerna.json index 2022386..191e73e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { - "version": "5.0.0-alpha.2", + "version": "independent", "npmClient": "yarn" } diff --git a/packages/capacitor/package.json b/packages/capacitor/package.json index 6ac9068..c5e6f2e 100644 --- a/packages/capacitor/package.json +++ b/packages/capacitor/package.json @@ -1,6 +1,6 @@ { "name": "@spryrocks/capacitor-http-plugin", - "version": "5.0.0-alpha.2", + "version": "5.0.0-alpha.3", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", @@ -19,7 +19,7 @@ "compile": "tsc --noEmit" }, "dependencies": { - "@spryrocks/mobile-http-plugin-core": "^5.0.0-alpha.2" + "@spryrocks/mobile-http-plugin-core": "^5.0.0-alpha.3" }, "peerDependencies": { "@capacitor/core": "^5.5.1" diff --git a/packages/core/package.json b/packages/core/package.json index d515a94..e5ea898 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@spryrocks/mobile-http-plugin-core", - "version": "5.0.0-alpha.2", + "version": "5.0.0-alpha.3", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 288e944..4dbf291 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@spryrocks/react-native-http-plugin", - "version": "5.0.0-alpha.2", + "version": "5.0.0-alpha.3", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", @@ -19,7 +19,7 @@ "compile": "tsc --noEmit" }, "dependencies": { - "@spryrocks/mobile-http-plugin-core": "^5.0.0-alpha.2" + "@spryrocks/mobile-http-plugin-core": "^5.0.0-alpha.3" }, "devDependencies": { "@spryrocks/eslint-config": "^0.3.0-alpha.2",