enhance: increase network-timout in .yarnrc

This commit is contained in:
Bad3r
2023-01-18 09:34:11 -05:00
committed by Gabriel Horner
parent ea952b3f46
commit 25284b819a
3 changed files with 5 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 --network-timeout 100000 && gulp build && yarn cljs:release-electron
run: yarn install && gulp build && yarn cljs:release-electron
env:
LOGSEQ_SENTRY_DSN: ${{ secrets.LOGSEQ_SENTRY_DSN }}
LOGSEQ_POSTHOG_TOKEN: ${{ secrets.LOGSEQ_POSTHOG_TOKEN }}

View File

@@ -20,7 +20,9 @@ WORKDIR /data
RUN git clone -b master https://github.com/logseq/logseq.git .
RUN yarn install --network-timeout 100000
RUN print "network-timeout 240000" >> ~/.yarnrc
RUN yarn install
# Build static resources
RUN yarn release

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 install --network-timeout 100000",
"tldraw:build": "cd tldraw && yarn install",
"postinstall": "yarn tldraw:build"
},
"dependencies": {