更新 .gitea/workflows/build.yaml
This commit is contained in:
parent
e8d3f8f475
commit
befba353cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue