Skip to content

Commit 8eded49

Browse files
authored
fix: preserve frontend tooling in ROCm CI build (#1568)
1 parent 92dc726 commit 8eded49

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -711,16 +711,6 @@ jobs:
711711
with:
712712
submodules: recursive
713713

714-
- name: Setup Node
715-
uses: actions/setup-node@v4
716-
with:
717-
node-version: 20
718-
719-
- name: Setup pnpm
720-
uses: pnpm/action-setup@v4
721-
with:
722-
version: 10.15.1
723-
724714
- name: ccache
725715
uses: ggml-org/ccache-action@v1.2.16
726716
with:
@@ -778,6 +768,18 @@ jobs:
778768
echo PATH=$PATH:$ROCM_PATH/bin >> $GITHUB_ENV
779769
echo LD_LIBRARY_PATH=$ROCM_PATH/lib:$ROCM_PATH/llvm/lib:$ROCM_PATH/lib/rocprofiler-systems >> $GITHUB_ENV
780770
771+
# setup-node installs into /opt/hostedtoolcache, which is removed above.
772+
# Keep Node/pnpm setup after disk cleanup so the server frontend can be embedded.
773+
- name: Setup Node
774+
uses: actions/setup-node@v4
775+
with:
776+
node-version: 20
777+
778+
- name: Setup pnpm
779+
uses: pnpm/action-setup@v4
780+
with:
781+
version: 10.15.1
782+
781783
- name: Build
782784
id: cmake_build
783785
run: |

0 commit comments

Comments
 (0)