Skip to content

Commit e876090

Browse files
refactor(phone-as-device): app-1809 move BL phone as device into redux
1 parent 46d71c9 commit e876090

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

.github/workflows/internal_build.yml renamed to .github/workflows/build.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
name: Internal Build Github Packages
1+
name: Build Github Packages
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
build_type:
7+
description: Build Type
8+
required: true
9+
default: alpha
10+
type: choice
11+
options:
12+
- alpha
13+
- release
514

615
jobs:
716
internal-build:
@@ -35,7 +44,12 @@ jobs:
3544
npm config set @arduino:registry=https://npm.pkg.github.com/ //npm.pkg.github.com/:_authToken=${REPO_ACCESS_TOKEN}
3645
3746
- name: Set package version
38-
run: npm version ${PKG_VERSION}-${RUN_NUM}
47+
run: |
48+
if [ ${{ inputs.build_type }} == "alpha" ]; then
49+
npm version ${PKG_VERSION}-alpha.${RUN_NUM}
50+
else
51+
npm version ${PKG_VERSION}
52+
fi
3953
4054
- name: Publish GH Package
4155
run: npm publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"prettier": "2.8.8",
6262
"react": "16.11.0",
6363
"react-native": "0.62.2",
64-
"react-native-builder-bob": "^0.30.2",
64+
"react-native-builder-bob": "0.30.2",
6565
"release-it": "13.7.1",
6666
"typescript": "5.0.4"
6767
},

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9207,7 +9207,7 @@ react-is@^18.0.0:
92079207
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e"
92089208
integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==
92099209

9210-
react-native-builder-bob@^0.30.2:
9210+
react-native-builder-bob@0.30.2:
92119211
version "0.30.2"
92129212
resolved "https://registry.yarnpkg.com/react-native-builder-bob/-/react-native-builder-bob-0.30.2.tgz#3084995f17c4867c322202df065740d49142ccf2"
92139213
integrity sha512-tkBlzQw+h96YVQbU7GVbSReYNj00IJzIsStrdXCyq3Z2kjpNcG8V0w8HhvOSDsX0SRVvqorzqpbUFeqg57XXDA==

0 commit comments

Comments
 (0)