1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-25 11:43:17 +01:00

fix yarn issue

This commit is contained in:
Mikael Finstad 2020-04-03 01:17:50 +08:00
parent 7a3fa291cd
commit 041d2fb6cf

View File

@ -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