Update Node setup and npm caching in workflow

Removed caching for npm due to missing lock file and updated comments regarding react-native-svg installation.
This commit is contained in:
Savsis 2026-04-28 21:45:50 +05:00 • committed by GitHub
parent 3702f91441
commit cfa732cb55

View file

@ -17,13 +17,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
# Кэширование убрано, так как у тебя отсутствует lock-файл
- name: Install dependencies
run: |
npm install --legacy-peer-deps
# Если react-native-svg критичен и его нет в package.json, лучше добавь его туда.
# Но если нужно здесь:
npm install react-native-svg --legacy-peer-deps
- name: Fix PNG assets