Skip to content

Commit

Permalink
build in ci, remove build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesthl committed Jan 2, 2024
1 parent 7ad5db1 commit 0c48542
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Build
run: "pnpm run build"

- name: Run linters
run: "pnpm run lint && pnpm run format"
3 changes: 2 additions & 1 deletion apps/expo/app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TamaguiProvider, useTheme as useThemeTamagui } from "tamagui";
import "../data/logger";

import { ThemeProvider, useTheme } from "../components/theme-provider";
import { clearShortcutListener, listenForShortcut } from "../data/shortcut.listener";
import { clearOpenedApp, clearShortcutListener, listenForShortcut } from "../data/shortcut.listener";
import config from "../tamagui.config";

export { ErrorBoundary } from "expo-router";
Expand Down Expand Up @@ -58,6 +58,7 @@ function RootLayoutNav() {
console.log("App has come to the foreground!");
} else if (appState.current.match(/active/) && nextAppState === "background") {
clearShortcutListener();
void clearOpenedApp();
console.log("App has come to the background!");
}
appState.current = nextAppState;
Expand Down
1 change: 0 additions & 1 deletion apps/expo/data/break.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export class BreakStoreSingleton {
this.lastBreakTimestamp = timestamp;
void this.appStatisticsStore.trackEvent({ appId: app.id, type: "break-start" });
}
// void this.hapticImpact();
}
private getHapticImpactEnum = (impact: string): Haptics.ImpactFeedbackStyle | undefined => {
switch (impact) {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo-exit-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ yarn-debug.log
yarn-error.log

# Expo
.expo/*
.expo/*
1 change: 1 addition & 0 deletions packages/target-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./build

0 comments on commit 0c48542

Please sign in to comment.