fix: update deploy workflow to install Node.js requirements before checkout

This commit is contained in:
2026-06-24 08:57:03 +02:00
parent 88d56bbd38
commit 53b3ee4301
+8 -6
View File
@@ -13,15 +13,17 @@ jobs:
runs-on: host
steps:
- name: Checkout Code
- name: Install Node.js requirements for Actions
run: |
if [ -d ".git" ]; then
git fetch --depth=2
git reset --hard FETCH_HEAD
else
git clone --depth=2 https://git.novaprojects.dev/unkn0wn/nova-design-system.git .
if ! command -v node &> /dev/null; then
apk add --no-cache nodejs npm
fi
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install dependencies
if: steps.version_check.outputs.changed == 'true'
run: npm ci --legacy-peer-deps