Skip to content

Commit 828eca1

Browse files
fix(ci): add prepack script to fix empty publish artifacts (#73)
1 parent ce60a05 commit 828eca1

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22
on:
33
push:
44
branches:
5-
- "*"
5+
- '*'
66
pull_request:
77
branches:
88
- main
@@ -99,7 +99,7 @@ jobs:
9999
100100
- name: Build example for Android
101101
env:
102-
JAVA_OPTS: "-XX:MaxHeapSize=6g"
102+
JAVA_OPTS: '-XX:MaxHeapSize=6g'
103103
run: |
104104
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
105105

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"lint:fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
3535
"docs": "typedoc --out ./docs/documentation ./src --tsconfig ./tsconfig.build.json",
3636
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
37-
"prepare": "bob build"
37+
"prepare": "bob build",
38+
"prepack": "bob build"
3839
},
3940
"keywords": [
4041
"react-native",

0 commit comments

Comments
 (0)