Skip to content

Commit 6ce57ee

Browse files
committed
update publish script
1 parent f0466c0 commit 6ce57ee

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,27 @@ on:
55
types: [released]
66

77
permissions:
8-
id-token: write # Required for OIDC to deploy to npmjs via Trusted Publisher
8+
id-token: write # Required for OIDC
9+
contents: read # Required for checkout
910

1011
jobs:
1112
publish:
1213
name: Upload archives
1314
runs-on: macos-latest
1415
steps:
1516
- name: Check out code
16-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
18+
19+
- name: Setup node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '22.x'
23+
registry-url: 'https://registry.npmjs.org'
1724

1825
- name: Build
1926
run: |
2027
yarn
2128
yarn prepare
2229
23-
- name: Setup node for publishing
24-
uses: actions/setup-node@v3
25-
with:
26-
node-version: '22.x'
27-
registry-url: 'https://registry.npmjs.org'
28-
2930
- name: Publish to npm
30-
run: |
31-
npm ci
32-
npm publish
31+
run: npm publish

android/gradle.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ ReactNativeSdk_minSdkVersion=24
33
ReactNativeSdk_targetSdkVersion=34
44
ReactNativeSdk_compileSdkVersion=35
55
ReactNativeSdk_ndkVersion=27.1.12297006
6-
newArchEnabled=true
6+
newArchEnabled=true
7+
8+
9+
## What's new
10+
- Fix build issue on iOS for those who import Qonversion SDK as a framework (#388)

0 commit comments

Comments
 (0)