get rid of abandoned Wandalen/wretry.action
This commit is contained in:
+15
-23
@@ -14,7 +14,7 @@ jobs:
|
|||||||
name: Run linters
|
name: Run linters
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: ⬇️ Checkout
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
- name: Verify Node version pins match .nvmrc
|
- name: Verify Node version pins match .nvmrc
|
||||||
run: |
|
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)
|
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"
|
check "eas.json" "$v"
|
||||||
exit $rc
|
exit $rc
|
||||||
- name: Install node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||||
with:
|
with:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Yarn install
|
- name: ⚙️ Install dependencies
|
||||||
uses: Wandalen/wretry.action@master
|
run: yarn install --frozen-lockfile
|
||||||
with:
|
- name: 🧐 Lint check
|
||||||
command: yarn --frozen-lockfile
|
|
||||||
attempt_limit: 3
|
|
||||||
attempt_delay: 2000
|
|
||||||
- name: Lint check
|
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
- name: Lint lockfile
|
- name: 🔒 Lint lockfile
|
||||||
run: yarn lockfile-lint
|
run: yarn lockfile-lint
|
||||||
- name: Prettier check
|
- name: 💅 Prettier check
|
||||||
run: yarn prettier --check .
|
run: yarn prettier --check .
|
||||||
- name: Check & compile i18n
|
- name: 📝 Check & compile i18n
|
||||||
run: yarn intl:build
|
run: yarn intl:build
|
||||||
- name: Type check
|
- name: ⌨️ Type check
|
||||||
run: yarn typecheck
|
run: yarn typecheck
|
||||||
testing:
|
testing:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: ⬇️ Checkout
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
- name: Install node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||||
with:
|
with:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Yarn install
|
- name: ⚙️ Install dependencies
|
||||||
uses: Wandalen/wretry.action@master
|
run: yarn install --frozen-lockfile
|
||||||
with:
|
- name: 📝 Check & compile i18n
|
||||||
command: yarn --frozen-lockfile
|
|
||||||
attempt_limit: 3
|
|
||||||
attempt_delay: 2000
|
|
||||||
- name: Check & compile i18n
|
|
||||||
run: yarn intl:build
|
run: yarn intl:build
|
||||||
- name: Run tests
|
- name: 🏃 Run tests
|
||||||
run: |
|
run: |
|
||||||
NODE_ENV=test yarn test --forceExit
|
NODE_ENV=test yarn test --forceExit
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: ⬇️ Checkout
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
ssh-key: ${{secrets.GH_ACTION_DEPLOY_KEY}}
|
ssh-key: ${{secrets.GH_ACTION_DEPLOY_KEY}}
|
||||||
@@ -24,20 +24,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Yarn install
|
- name: ⚙️ Install dependencies
|
||||||
uses: Wandalen/wretry.action@master
|
run: yarn install --frozen-lockfile
|
||||||
with:
|
- name: 🧵 Extract language strings
|
||||||
command: yarn --frozen-lockfile
|
|
||||||
attempt_limit: 3
|
|
||||||
attempt_delay: 2000
|
|
||||||
- name: Extract language strings
|
|
||||||
run: yarn intl:extract
|
run: yarn intl:extract
|
||||||
- name: Create commit
|
- name: ✍️ Create commit
|
||||||
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
|
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
|
||||||
with:
|
with:
|
||||||
commit_message: Nightly source-language update
|
commit_message: Nightly source-language update
|
||||||
file_pattern: ./src/locale/locales/en/messages.po
|
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
|
uses: crowdin/github-action@8868a33591d21088edfc398968173a3b98d51706 # v2.16.2
|
||||||
with:
|
with:
|
||||||
upload_sources: true
|
upload_sources: true
|
||||||
|
|||||||
@@ -31,13 +31,8 @@ jobs:
|
|||||||
BASE_REF: ${{ github.base_ref }}
|
BASE_REF: ${{ github.base_ref }}
|
||||||
run: git show "origin/$BASE_REF:yarn.lock" > yarn.lock
|
run: git show "origin/$BASE_REF:yarn.lock" > yarn.lock
|
||||||
|
|
||||||
- name: Yarn install
|
- name: ⚙️ Install dependencies
|
||||||
uses: Wandalen/wretry.action@master
|
run: yarn install --ignore-scripts
|
||||||
with:
|
|
||||||
# Fine to skip scripts since we don't run any code
|
|
||||||
command: yarn install --ignore-scripts
|
|
||||||
attempt_limit: 3
|
|
||||||
attempt_delay: 2000
|
|
||||||
|
|
||||||
- name: Verify yarn.lock
|
- name: Verify yarn.lock
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user