From f44211799ca6a6a9a7f1896ed3f2948da84c5c05 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:52:25 +0100 Subject: [PATCH] Fix CI install by enabling legacy peer deps --- .github/workflows/deploy.yml | 4 ++-- .npmrc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .npmrc diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f4847226..248ef593 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: node-version: '18' - name: Install dependencies - run: npm ci + run: npm ci --legacy-peer-deps - name: Build (if needed) run: | @@ -37,7 +37,7 @@ jobs: restart_log=/tmp/indiekit-restart.log # Update code and dependencies as indiekit user inside the jail. - sudo bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && git pull origin main && npm ci && install -m 755 start.example.sh start.sh"' + sudo bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && git pull origin main && npm ci --legacy-peer-deps && install -m 755 start.example.sh start.sh"' # sharp/libvips are managed manually on the server. diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..521a9f7c --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true