CI: Before running build, run tsc
This commit is contained in:
@@ -42,6 +42,9 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Type Check
|
||||
run: yarn tsc
|
||||
|
||||
- name: 🏗 Setup Expo
|
||||
uses: expo/expo-github-action@v7
|
||||
@@ -52,7 +55,7 @@ jobs:
|
||||
|
||||
- name: Build Android APK
|
||||
run: |
|
||||
eas build -p android --profile debug --local --non-interactive
|
||||
eas build -p android --profile production --local --non-interactive
|
||||
mv *.apk chromacase.apk
|
||||
|
||||
- name: Upload Artifact
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ ENV API_URL=$API_URL
|
||||
ARG SCORO_URL
|
||||
ENV SCORO_URL=$SCORO_URL
|
||||
|
||||
RUN expo build:web
|
||||
RUN yarn tsc && expo build:web
|
||||
|
||||
# Serve the app
|
||||
FROM nginx:1.21-alpine
|
||||
|
||||
@@ -15,9 +15,7 @@ const PartitionVisualizer = ({ songId }: PartitionVisualizerProps) => {
|
||||
if (!partitionRessources.data) {
|
||||
return <LoadingView/>;
|
||||
}
|
||||
return (
|
||||
|
||||
);
|
||||
return <></>;
|
||||
};
|
||||
|
||||
export default PartitionVisualizer;
|
||||
|
||||
+1263
-1266
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user