diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d16dfa8..b956cc54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,15 +23,9 @@ jobs: with: node-version: 12 - # Because of timeout issue https://github.com/yarnpkg/yarn/issues/5259#issuecomment-379769451 - - name: Fix connection issue - run: | - set http_proxy= - set https_proxy= - yarn config delete proxy - npm config rm https-proxy - npm config rm proxy - npm config set registry "https://registry.npmjs.org" + # Because of timeout issue https://github.com/yarnpkg/yarn/issues/4890 + - name: yarn install + run: yarn install --network-timeout 1000000 - name: Install and login to Snapcraft uses: samuelmeuli/action-snapcraft@v1