fix(ci): use Node.js tarball instead of fnm (runner lacks unzip)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user