ehance: increase yarn install network timeout limit

This commit is contained in:
Bad3r
2023-01-18 00:00:58 -05:00
committed by Gabriel Horner
parent 09ac747d90
commit 016fd7bcc5
3 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ jobs:
echo "ENABLE_FILE_SYNC_PRODUCTION=${{ github.event_name == 'schedule' || github.event.inputs.enable-file-sync-production == 'true' }}" >> $GITHUB_ENV
- name: Compile CLJS
run: yarn install && gulp build && yarn cljs:release-electron
run: yarn install --network-timeout 100000 && gulp build && yarn cljs:release-electron
env:
LOGSEQ_SENTRY_DSN: ${{ secrets.LOGSEQ_SENTRY_DSN }}
LOGSEQ_POSTHOG_TOKEN: ${{ secrets.LOGSEQ_POSTHOG_TOKEN }}

View File

@@ -17,7 +17,7 @@ WORKDIR /data
# Build for static resources
RUN git clone -b master https://github.com/logseq/logseq.git . \
yarn install && gulp build && yarn cljs:release
yarn install --network-timeout 100000 && gulp build && yarn cljs:release
# Web App Runner image
FROM nginx:stable-alpine

View File

@@ -71,7 +71,7 @@
"cljs:lint": "clojure -M:clj-kondo --parallel --lint src --cache false",
"ios:dev": "cross-env PLATFORM=ios gulp cap",
"android:dev": "cross-env PLATFORM=android gulp cap",
"tldraw:build": "cd tldraw && yarn",
"tldraw:build": "cd tldraw && yarn install --network-timeout 100000",
"postinstall": "yarn tldraw:build"
},
"dependencies": {