diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ff86b10d7b9c..49f8a2dd677f 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -24,7 +24,11 @@ jobs: run: bundle install - name: Install node packages - run: npm ci + uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb + with: + timeout_minutes: 10 + max_attempts: 10 + command: npm ci - name: Decrypt keystore run: cd android/app && gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" --output my-upload-key.keystore my-upload-key.keystore.gpg diff --git a/.github/workflows/desktop.yml b/.github/workflows/desktop.yml index fde65943ee27..cf4b9d5f10e3 100644 --- a/.github/workflows/desktop.yml +++ b/.github/workflows/desktop.yml @@ -19,7 +19,11 @@ jobs: node-version: '14.x' - name: Install node packages - run: npm ci -ddd + uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb + with: + timeout_minutes: 10 + max_attempts: 10 + command: npm ci - name: Decrypt Developer ID Certificate run: cd desktop && gpg --quiet --batch --yes --decrypt --passphrase="$DEVELOPER_ID_SECRET_PASSPHRASE" --output developer_id.p12 developer_id.p12.gpg diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 21c83852f335..09d2c02411b2 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -23,7 +23,11 @@ jobs: run: bundle install - name: Install node packages - run: npm install + uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb + with: + timeout_minutes: 10 + max_attempts: 10 + command: npm ci - name: Install detox run: npm install -g detox-cli diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index d9a63eae1d2e..8b95accd1cd3 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -32,7 +32,11 @@ jobs: run: bundle install - name: Install node packages - run: npm ci -ddd + uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb + with: + timeout_minutes: 10 + max_attempts: 10 + command: npm ci - name: Install cocoapods run: cd ios && pod install diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index edfaeb11f360..a9d3559b8498 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,7 +22,12 @@ jobs: with: node-version: '14.x' - - run: npm ci + - name: Install node packages + uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb + with: + timeout_minutes: 10 + max_attempts: 10 + command: npm ci - run: npm run lint env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc64f31ccdc0..d7dc2fad8528 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,15 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 + with: + node-version: '14.x' - - run: npm install + - name: Install node packages + uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb + with: + timeout_minutes: 10 + max_attempts: 10 + command: npm ci - run: npm run test env: diff --git a/.github/workflows/verifyGithubActionBuilds.yml b/.github/workflows/verifyGithubActionBuilds.yml index 45f497601b31..d4148bc0479a 100644 --- a/.github/workflows/verifyGithubActionBuilds.yml +++ b/.github/workflows/verifyGithubActionBuilds.yml @@ -12,8 +12,15 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 + with: + node-version: '14.x' - - run: npm install + - name: Install node packages + uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb + with: + timeout_minutes: 10 + max_attempts: 10 + command: npm ci # Rebuild all the actions on this branch and check for a diff. Fail if there is one, # because that would be a sign that the PR author did not rebuild the Github Actions diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index b81a7df96878..5de82e3906dd 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -40,8 +40,12 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-1 - - name: Install dependenices - run: npm ci + - name: Install node packages + uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb + with: + timeout_minutes: 10 + max_attempts: 10 + command: npm ci - name: Build web run: npm run build