Skip to content

Commit 28505af

Browse files
committed
fix tsc + dry run
1 parent db81382 commit 28505af

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/check-android-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
run: yarn install
3636

3737
- name: Build Android app
38-
run: eas build --profile development --platform android --non-interactive --dry-run
38+
run: eas build --profile development --platform android --non-interactive

.github/workflows/check-ios-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
yarn install
3838
3939
- name: Build iOS app
40-
run: eas build --profile production --platform ios --non-interactive --dry-run
40+
run: eas build --profile production --platform ios --non-interactive

app.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type EnvironmentConfig = {
1818
};
1919
};
2020

21-
type Environment = "dev" | "preview" | "prod";
21+
type Environment = "dev" | "preview" | "production";
2222

2323
const settings: Record<Environment, EnvironmentConfig> = {
2424
dev: {
@@ -54,7 +54,7 @@ const settings: Record<Environment, EnvironmentConfig> = {
5454
icon: "./assets/icon-preview.png",
5555
googleServicesFile: "./scripts/build/android/google-services/preview.json",
5656
},
57-
prod: {
57+
production: {
5858
scheme: "converse",
5959
ios: {
6060
bundleIdentifier: "com.converse.native",
@@ -76,6 +76,7 @@ const settings: Record<Environment, EnvironmentConfig> = {
7676

7777
export default (): ExpoConfig => {
7878
const environment = (process.env.EXPO_ENV || "dev") as Environment;
79+
console.log("environment:", environment);
7980
const config = settings[environment];
8081

8182
return {

environment.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
declare global {
22
namespace NodeJS {
33
interface ProcessEnv {
4+
EXPO_PUBLIC_PRIVY_CLIENT_ID: string;
45
EXPO_PUBLIC_EVM_RPC_ENDPOINT: string;
56
EXPO_PUBLIC_FIREBASE_APP_CHECK_DEBUG_TOKEN_ANDROID: string;
67
EXPO_PUBLIC_FIREBASE_APP_CHECK_DEBUG_TOKEN_IOS: string;

utils/str.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const formatEphemeralDisplayName = (
4343
displayName || humanize(address.slice(2, 42), { numWords: 2, separator: "" });
4444

4545
export const formatRandoDisplayName = (address: string) =>
46-
humanize(address.slice(2, 42), 2, " ", true);
46+
humanize(address.slice(2, 42), { numWords: 2, separator: " " });
4747

4848
export const getTitleFontScale = (): number => {
4949
let titleFontScale = 1;

0 commit comments

Comments
 (0)