diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 540e850..9e9d93c 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -12,6 +12,11 @@ jobs: if: github.event_name == 'pull_request' runs-on: aliyun steps: + - name: Setup Node.js + run: | + sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories + apk add --no-cache nodejs + - name: Checkout uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" @@ -30,6 +35,11 @@ jobs: if: github.event_name == 'push' runs-on: aliyun steps: + - name: Setup Node.js + run: | + sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories + apk add --no-cache nodejs + - name: Checkout uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"