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
|
- name: Install Node.js
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL https://fnm.vercel.app/install | bash -s -- --skip-shell
|
NODE_VERSION=22.17.0
|
||||||
export PATH="$HOME/.local/share/fnm:$PATH"
|
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
|
||||||
eval "$(fnm env)"
|
|
||||||
fnm install --lts
|
|
||||||
fnm use --lts
|
|
||||||
node --version
|
node --version
|
||||||
npm --version
|
npm --version
|
||||||
|
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: |
|
run: |
|
||||||
export PATH="$HOME/.local/share/fnm:$PATH"
|
|
||||||
eval "$(fnm env)"
|
|
||||||
cd crates/ericrfb-frontend
|
cd crates/ericrfb-frontend
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user