get rid of abandoned Wandalen/wretry.action

This commit is contained in:
Samuel Newman
2026-05-14 11:03:19 +03:00
parent f3b499acef
commit 9ac25ed392
3 changed files with 23 additions and 40 deletions
+15 -23
View File
@@ -14,7 +14,7 @@ jobs:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
- name: ⬇️ Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Verify Node version pins match .nvmrc
run: |
@@ -41,46 +41,38 @@ jobs:
v=$(grep -oE '"node":[[:space:]]*"[0-9]+\.[0-9]+\.[0-9]+"' eas.json | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | sort -u)
check "eas.json" "$v"
exit $rc
- name: Install node
- name: 🔧 Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .nvmrc
cache: yarn
- name: Yarn install
uses: Wandalen/wretry.action@master
with:
command: yarn --frozen-lockfile
attempt_limit: 3
attempt_delay: 2000
- name: Lint check
- name: ⚙️ Install dependencies
run: yarn install --frozen-lockfile
- name: 🧐 Lint check
run: yarn lint
- name: Lint lockfile
- name: 🔒 Lint lockfile
run: yarn lockfile-lint
- name: Prettier check
- name: 💅 Prettier check
run: yarn prettier --check .
- name: Check & compile i18n
- name: 📝 Check & compile i18n
run: yarn intl:build
- name: Type check
- name: ⌨️ Type check
run: yarn typecheck
testing:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
- name: ⬇️ Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install node
- name: 🔧 Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .nvmrc
cache: yarn
- name: Yarn install
uses: Wandalen/wretry.action@master
with:
command: yarn --frozen-lockfile
attempt_limit: 3
attempt_delay: 2000
- name: Check & compile i18n
- name: ⚙️ Install dependencies
run: yarn install --frozen-lockfile
- name: 📝 Check & compile i18n
run: yarn intl:build
- name: Run tests
- name: 🏃 Run tests
run: |
NODE_ENV=test yarn test --forceExit
@@ -15,7 +15,7 @@ jobs:
contents: write
steps:
- name: Check out Git repository
- name: ⬇️ Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ssh-key: ${{secrets.GH_ACTION_DEPLOY_KEY}}
@@ -24,20 +24,16 @@ jobs:
with:
node-version-file: .nvmrc
cache: yarn
- name: Yarn install
uses: Wandalen/wretry.action@master
with:
command: yarn --frozen-lockfile
attempt_limit: 3
attempt_delay: 2000
- name: Extract language strings
- name: ⚙️ Install dependencies
run: yarn install --frozen-lockfile
- name: 🧵 Extract language strings
run: yarn intl:extract
- name: Create commit
- name: ✍️ Create commit
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
with:
commit_message: Nightly source-language update
file_pattern: ./src/locale/locales/en/messages.po
- name: Push source lang to Crowdin
- name: 🧑‍🧑‍🧒‍🧒 Push source lang to Crowdin
uses: crowdin/github-action@8868a33591d21088edfc398968173a3b98d51706 # v2.16.2
with:
upload_sources: true
+2 -7
View File
@@ -31,13 +31,8 @@ jobs:
BASE_REF: ${{ github.base_ref }}
run: git show "origin/$BASE_REF:yarn.lock" > yarn.lock
- name: Yarn install
uses: Wandalen/wretry.action@master
with:
# Fine to skip scripts since we don't run any code
command: yarn install --ignore-scripts
attempt_limit: 3
attempt_delay: 2000
- name: ⚙️ Install dependencies
run: yarn install --ignore-scripts
- name: Verify yarn.lock
run: |