update cicd_script
Some checks failed
Hexo Blog CICD / Deploy blog (push) Failing after 34s

This commit is contained in:
yunpeng.zhang 2024-12-19 16:44:10 +08:00
parent c141e71d5f
commit e6bedcd1d0

View File

@ -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