From befba353cf4e45156d221f959085e214d602ba31 Mon Sep 17 00:00:00 2001 From: Hmtsai Date: Sat, 25 May 2024 10:39:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 198430a..b586759 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -25,21 +25,12 @@ jobs: uses: http://git.hmtsai.cn/actions/checkout@v4 - name: Prepare node run: | - git clone https://git.hmtsai.cn/cxykevin/study-area-home-action-deps - mv study-area-home-action-deps/node-$(uname -m).tar.xz study-area-home-action-deps/node.tar.xz - tar xvJf study-area-home-action-deps/node.tar.xz - mv node-*-linux-* /node - export PATH=/node/bin:$PATH - echo $PATH + apt-get install nodejs npm - name: Check node run: | export PATH=/node/bin:$PATH - ls study-area-home-action-deps - echo "------------" - ls . - echo "------------" - node -v - npm -v + echo NodeJS Version:`node -v` + echo NPM Version:`npm -v` - name: Prepare NPM source run: | export PATH=/node/bin:$PATH