更新 .gitea/workflows/youzi.yml

This commit is contained in:
kongxiangyiren 2024-10-24 08:02:30 +00:00
parent f554b88973
commit 966bf7068f

View File

@ -20,6 +20,7 @@ jobs:
with:
# gitea-tool-cache导出 node 具体版本
node-version: ${{ steps.tool-cache.outputs.node-version }}
registry-url: https://registry.npmmirror.com
- name: 缓存
uses: https://gitea.cn/actions/cache@v4
@ -32,7 +33,7 @@ jobs:
run: |
if ! command -v yarn &> /dev/null; then
echo "yarn 未安装,开始安装"
npm install -g yarn --registry=https://registry.npmmirror.com
npm install -g yarn
else
echo "yarn 已安装"
fi