add proxy

This commit is contained in:
xRain 2024-08-16 04:58:22 +08:00
parent 96b7bd3cb5
commit 1162e23cea

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