1
0
Fork 0

更新 .gitea/workflows/build.yaml

This commit is contained in:
cxykevin 2024-05-24 22:37:39 +08:00
parent 793fbb1ba2
commit 3baf17ab84
1 changed files with 3 additions and 1 deletions

View File

@ -29,12 +29,14 @@ jobs:
mv study-area-home-action-deps/node-$(uname -m).tar.xz study-area-home-action-deps/node.tar.xz 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 tar xvJf study-area-home-action-deps/node.tar.xz
mv node-*-linux-* node mv node-*-linux-* node
export PATH=$(pwd)/node/bin:$PATH export PATH=./node/bin:$PATH:./node/bin
- name: Check node - name: Check node
run: | run: |
ls study-area-home-action-deps ls study-area-home-action-deps
echo "------------" echo "------------"
ls . ls .
echo "------------"
node -v
- name: Prepare NPM source - name: Prepare NPM source
run: | run: |
npm config set registry https://registry.npmmirror.com npm config set registry https://registry.npmmirror.com