fix: source nvm in CI workflow for npm/npx availability
act_runner runs non-interactive shells where nvm isn't loaded. Cargo steps already source .cargo/env but frontend steps were missing the equivalent nvm.sh sourcing, causing "npm: command not found". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e8251b5bad
commit
f8cf0afbfc
@ -58,13 +58,19 @@ jobs:
|
|||||||
cp core/target/x86_64-unknown-linux-musl/release/archipelago "$GITHUB_WORKSPACE/core/target/release/"
|
cp core/target/x86_64-unknown-linux-musl/release/archipelago "$GITHUB_WORKSPACE/core/target/release/"
|
||||||
|
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: cd neode-ui && npm ci && npm run build
|
run: |
|
||||||
|
source $HOME/.nvm/nvm.sh 2>/dev/null || true
|
||||||
|
cd neode-ui && npm ci && npm run build
|
||||||
|
|
||||||
- name: Type check frontend
|
- name: Type check frontend
|
||||||
run: cd neode-ui && npx vue-tsc -b --noEmit
|
run: |
|
||||||
|
source $HOME/.nvm/nvm.sh 2>/dev/null || true
|
||||||
|
cd neode-ui && npx vue-tsc -b --noEmit
|
||||||
|
|
||||||
- name: Run frontend tests
|
- name: Run frontend tests
|
||||||
run: cd neode-ui && npx vitest run
|
run: |
|
||||||
|
source $HOME/.nvm/nvm.sh 2>/dev/null || true
|
||||||
|
cd neode-ui && npx vitest run
|
||||||
|
|
||||||
- name: Include AIUI if available
|
- name: Include AIUI if available
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user