about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-12-05 18:18:28 -0800
committerGitHub <noreply@github.com>2023-12-05 18:18:28 -0800
commit511d5d999b62b8266c3d7885ae6b0ce12d9704de (patch)
tree648216791f21e5354dca73dc7b47b00a5e78705f
parent712cd3fde55cca0444086e4512322832875d4836 (diff)
downloadvoidsky-511d5d999b62b8266c3d7885ae6b0ce12d9704de.tar.zst
Update to actions/setup-node@v4 (#2105)
* Update to actions/setup-node@v4

* Add a retry to the yarn install step
-rw-r--r--.github/workflows/lint.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 29a50adbb..155a72506 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -17,7 +17,11 @@ jobs:
       - name: Check out Git repository
         uses: actions/checkout@v3
       - name: Yarn install
-        run: yarn --frozen-lockfile
+        uses: Wandalen/wretry.action@master
+        with:
+          command: yarn --frozen-lockfile
+          attempt_limit: 3
+          attempt_delay: 2000
       - name: Lint check
         run: yarn lint
       - name: Check & compile i18n
@@ -29,13 +33,17 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Install node 18
-        uses: actions/setup-node@v3
+        uses: actions/setup-node@v4
         with:
           node-version: 18
       - name: Check out Git repository
         uses: actions/checkout@v3
       - name: Yarn install
-        run: yarn --frozen-lockfile
+        uses: Wandalen/wretry.action@master
+        with:
+          command: yarn --frozen-lockfile
+          attempt_limit: 3
+          attempt_delay: 2000
       - name: Check & compile i18n
         run: yarn intl:build
       - name: Run tests