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:
parent
3702f91441
commit
cfa732cb55
1 changed files with 1 additions and 3 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -17,13 +17,11 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
# Кэширование убрано, так как у тебя отсутствует lock-файл
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
npm install --legacy-peer-deps
|
npm install --legacy-peer-deps
|
||||||
# Если react-native-svg критичен и его нет в package.json, лучше добавь его туда.
|
|
||||||
# Но если нужно здесь:
|
|
||||||
npm install react-native-svg --legacy-peer-deps
|
npm install react-native-svg --legacy-peer-deps
|
||||||
|
|
||||||
- name: Fix PNG assets
|
- name: Fix PNG assets
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue