Skip to content

Commit

Permalink
enhance: increase network-timout in .yarnrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Bad3r authored and logseq-cldwalker committed Jan 19, 2023
1 parent ea952b3 commit 25284b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 25284b8

Please sign in to comment.