From 1446f4bdf52d457e8fb987dfd6b7e9bdd5d54b05 Mon Sep 17 00:00:00 2001 From: jinqiang zhang Date: Thu, 23 Jan 2025 10:32:28 +0000 Subject: [PATCH] fix npm not found --- .github/workflows/generator.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/generator.yml b/.github/workflows/generator.yml index a8081f4..b886b6c 100644 --- a/.github/workflows/generator.yml +++ b/.github/workflows/generator.yml @@ -91,6 +91,12 @@ jobs: tar --create --auto-compress --file /tmp/${P}-vendor.tar.xz ${VENDORDIR}/vendor fi + - name: Setup npm + if: inputs.LANG == 'javascript' + uses: actions/setup-node@v4 + with: + node-version: latest + - name: Generate javascript node_modules if: inputs.LANG == 'javascript' env: