From 2700821559775ce320c1c65a52a61ecfce87981b Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Wed, 6 May 2026 16:15:43 +0300 Subject: [PATCH] fix(ci): use Node.js tarball instead of fnm (runner lacks unzip) Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/publish.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 0ccef25..a1185b6 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -12,18 +12,13 @@ jobs: - name: Install Node.js run: | - curl -fsSL https://fnm.vercel.app/install | bash -s -- --skip-shell - export PATH="$HOME/.local/share/fnm:$PATH" - eval "$(fnm env)" - fnm install --lts - fnm use --lts + NODE_VERSION=22.17.0 + curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" | tar -xJ --strip-components=1 -C /usr/local node --version npm --version - name: Build frontend run: | - export PATH="$HOME/.local/share/fnm:$PATH" - eval "$(fnm env)" cd crates/ericrfb-frontend npm ci npm run build