Wave 1: add deps, crypto random utility, i18n helper, privacy fix, CI gates

- fix(deps): add zod and typescript to package.json
- feat(lib): add cryptographically secure random utility with TDD
- feat(lib): add client i18n helper with TDD
- fix(i18n): update privacy policy for crypto accuracy
- ci(deploy): add test and lint gates, fix SSH security
This commit is contained in:
emil
2026-05-13 19:34:42 +03:00
parent 2c400abb0a
commit 515c4a6168
15 changed files with 1568 additions and 6 deletions
+3 -1
View File
@@ -16,6 +16,8 @@ jobs:
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build
- name: Setup SSH key
@@ -28,6 +30,6 @@ jobs:
- name: Deploy via rsync
run: |
rsync -avz --delete \
-e "ssh -i ~/.ssh/deploy_key -o StrictHostKeyChecking=no" \
-e "ssh -i ~/.ssh/deploy_key" \
dist/ \
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:~/www/randify.pro/