Update to actions/setup-node@v4 (#2105)

* Update to actions/setup-node@v4

* Add a retry to the yarn install step
zio/stable
Paul Frazee 2023-12-05 18:18:28 -08:00 committed by GitHub
parent 712cd3fde5
commit 511d5d999b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 3 deletions

View File

@ -17,7 +17,11 @@ jobs:
- name: Check out Git repository - name: Check out Git repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Yarn install - 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 - name: Lint check
run: yarn lint run: yarn lint
- name: Check & compile i18n - name: Check & compile i18n
@ -29,13 +33,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install node 18 - name: Install node 18
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- name: Check out Git repository - name: Check out Git repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Yarn install - 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 - name: Check & compile i18n
run: yarn intl:build run: yarn intl:build
- name: Run tests - name: Run tests