From d27d87752c438ebc923ccf271a39dc87b82bd13e Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 22 Aug 2025 15:20:08 -0400 Subject: [PATCH] Refinement, use nmp --- .gitea/workflows/build.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 1406742..0d8a8de 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -23,21 +23,20 @@ jobs: # sudo apt-get install -y libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb # Install Node.js - # - name: Setup Node.js - # uses: actions/setup-node@v4 - # with: - # node-version: "24" - # - name: Install dependencies - # run: npm install + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "24" + cache: npm + - name: Install dependencies + run: npm install # Install rust toolchain - name: Install Rust run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh - chmod +x rustup.sh - ./rustup.sh -y + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -- -y export PATH=/root/.cargo/bin:$PATH rustc --version cargo --version - cargo install wasm-pack + npm install -g wasm-pack wasm-pack --version