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