CI: Before running build, run tsc

This commit is contained in:
Arthur Jamet
2023-06-08 09:36:11 +01:00
parent c4c4361ff9
commit ff0fc7a8ae
4 changed files with 1269 additions and 1271 deletions
+4 -1
View File
@@ -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
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff