add proxy

This commit is contained in:
xRain 2024-07-28 22:01:48 +08:00
parent 96b7bd3cb5
commit 3de0b1e3fb

View File

@ -8,7 +8,9 @@ runs:
with: with:
entrypoint: "/bin/bash" entrypoint: "/bin/bash"
args: | args: |
-c "npm install && \ -c "export https_proxy=http://100.100.13.14:8118 && \
export http_proxy=http://100.100.13.14:8118 && \
npm install && \
npm run build -- --output-path=dist" npm run build -- --output-path=dist"
- uses: docker://ubuntu:latest - uses: docker://ubuntu:latest