fix(ci): use Node.js tarball instead of fnm (runner lacks unzip)
Some checks failed
CI / check (push) Waiting to run
CI / fmt (push) Waiting to run
CI / clippy (push) Waiting to run
Publish / frontend (push) Waiting to run
Publish / backend (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-06 16:15:43 +03:00
parent 2627bab72a
commit 2700821559

View File

@@ -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