From 5fd88e4fe08d91b1462b711bc7f805a4ba3ac060 Mon Sep 17 00:00:00 2001 From: lisonge Date: Wed, 20 Sep 2023 23:21:36 +0800 Subject: [PATCH] chore(actions): download node --- .github/workflows/check.yml | 7 ++++++- .github/workflows/release.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 48d7c1a3..c408923e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -21,7 +21,12 @@ jobs: - uses: volta-cli/action@v3 - - run: node -v + - name: download node + uses: nick-fields/retry@v2 + with: + timeout_minutes: 10 + max_attempts: 3 + command: node -v - uses: pnpm/action-setup@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a704e61b..3b51cbad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,12 @@ jobs: - uses: volta-cli/action@v3 - - run: node -v + - name: download node + uses: nick-fields/retry@v2 + with: + timeout_minutes: 10 + max_attempts: 3 + command: node -v - uses: pnpm/action-setup@v2