From 0a5ad5a53c03d7f6b57465e45629b5fd5e52b4b3 Mon Sep 17 00:00:00 2001 From: cxykevin Date: Fri, 24 May 2024 21:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 310fddd..5eebbea 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -26,6 +26,15 @@ jobs: apt-get install node -y - name: Checkout uses: http://git.hmtsai.cn/actions/checkout@v4 + - name: Prepare NPM source + run: | + npm config set registry https://registry.npmmirror.com + - name: npm install + run: | + npm install + - name: Build + run: | + npm run build # - name: Add permission # run: chmod +x study-area-action-deps/mdbook-linux-$(uname -m) # - name: Build mdbook