From e6bedcd1d01d5b6f464145469fc51740439f23fa Mon Sep 17 00:00:00 2001 From: "yunpeng.zhang" Date: Thu, 19 Dec 2024 16:44:10 +0800 Subject: [PATCH] update cicd_script --- .gitea/workflows/blog_hexo.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/blog_hexo.yaml b/.gitea/workflows/blog_hexo.yaml index c66624c..4774e59 100644 --- a/.gitea/workflows/blog_hexo.yaml +++ b/.gitea/workflows/blog_hexo.yaml @@ -19,10 +19,11 @@ jobs: uses: actions/checkout@v4 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '16' + - name: Configure + run: | + npm config set registry https://registry.npmmirror.com + npx --yes actions/setup-node@v3 --node-version 16.18 + - name: Build run: | npm install