There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
ci: retry install three times (#3924)
Alex Yang4a003878e214
diff --git a/.github/actions/setup-maker/action.yml b/.github/actions/setup-maker/action.ymlindex 6861249b23..6f708f268d 100644--- a/.github/actions/setup-maker/action.yml+++ b/.github/actions/setup-maker/action.yml@@ -6,9 +6,13 @@ runs:steps:- name: 'Install @electron-forge/maker-dmg'if: runner.os == 'macos'- shell: bash+ uses: nick-fields/retry@v2working-directory: ./apps/electron- run: yarn add @electron-forge/maker-dmg --dev+ with:+ timeout_minutes: 10+ max_attempts: 3+ retry_on: timeout+ command: yarn add @electron-forge/maker-dmg --devenv:HUSKY: '0'PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.ymlindex 2d9c6123fa..73d1c41181 100644--- a/.github/actions/setup-node/action.yml+++ b/.github/actions/setup-node/action.yml@@ -39,20 +39,12 @@ runs:run: yarn config set nmMode hardlinks-local- name: yarn install- if: ${{ inputs.package-install == 'true' }}- continue-on-error: true- shell: bash- run: yarn install ${{ inputs.extra-flags }}- env:- HUSKY: '0'- PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'- ELECTRON_SKIP_BINARY_DOWNLOAD: '1'- SENTRYCLI_SKIP_DOWNLOAD: '1'-- - name: yarn install (try again)- if: ${{ steps.install.outcome == 'failure' }}- shell: bash- run: yarn install ${{ inputs.extra-flags }}+ uses: nick-fields/retry@v2+ with:+ timeout_minutes: 10+ max_attempts: 3+ retry_on: timeout+ command: yarn install ${{ inputs.extra-flags }}env:HUSKY: '0'PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'diff --git a/.github/workflows/nx.yml b/.github/workflows/nx.ymlindex 9eb7448815..c7190aed21 100644--- a/.github/workflows/nx.yml+++ b/.github/workflows/nx.yml@@ -10,8 +10,6 @@ on:- README.md- .github/**- '!.github/workflows/nx.yml'- - '!.github/actions/build-rust/action.yml'- - '!.github/actions/setup-node/action.yml'pull_request:merge_group:branches:@@ -22,15 +20,13 @@ on:- README.md- .github/**- '!.github/workflows/nx.yml'- - '!.github/actions/build-rust/action.yml'- - '!.github/actions/setup-node/action.yml'jobs:main:name: Nx Cloud - Main Jobuses: nrwl/ci/.github/workflows/[email protected]with:- runs-on: macos-latest+ runs-on: ubuntu-latestmain-branch-name: masternumber-of-agents: 5init-commands: |@@ -47,7 +43,7 @@ jobs:name: Nx Cloud - Agentsuses: nrwl/ci/.github/workflows/[email protected]with:- runs-on: macos-latest+ runs-on: ubuntu-latestnumber-of-agents: 5environment-variables: |BUILD_TYPE=canarydiff --git a/.github/workflows/release-desktop-app.yml b/.github/workflows/release-desktop-app.ymlindex e326a64c65..74963c5502 100644--- a/.github/workflows/release-desktop-app.yml+++ b/.github/workflows/release-desktop-app.yml@@ -103,10 +103,8 @@ jobs:steps:- uses: actions/checkout@v3- name: Setup Node.js- timeout-minutes: 10uses: ./.github/actions/setup-node- name: Setup Maker- timeout-minutes: 10uses: ./.github/actions/setup-maker- name: Build AFFiNE nativeuses: ./.github/actions/build-rust