test(i18n): vitest-чек синхронности en/ru локалей + запуск тестов в CI

This commit is contained in:
kewldan
2026-07-14 00:10:59 +03:00
parent 9f909b0f2c
commit 2b5152608c
3 changed files with 122 additions and 1 deletions

View File

@@ -10,8 +10,26 @@ jobs:
lint:
uses: ./.github/workflows/lint.yml
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
build:
needs: lint
needs: [lint, test]
runs-on: ubuntu-latest
steps:
- name: Checkout code