fix: update Node.js version in CI workflow from 22 to 24 and add peer dependencies in package-lock.json
Build and deploy / build (push) Failing after 33s
Build and deploy / deploy (push) Has been skipped

This commit is contained in:
Artem Kashaev
2025-12-01 15:01:57 +05:00
parent 971e8a63bc
commit 5ce5556232
2 changed files with 28 additions and 24 deletions
+3 -3
View File
@@ -14,13 +14,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js 22 via nvm
- name: Setup Node.js 24 via nvm
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 22
nvm use 22
nvm install 24
nvm use 24
node -v
npm -v
echo "PATH=$PATH" >> $GITHUB_ENV