更新 .gitea/workflows/youzi.yml
This commit is contained in:
parent
f554b88973
commit
966bf7068f
@ -20,6 +20,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# gitea-tool-cache导出 node 具体版本
|
# gitea-tool-cache导出 node 具体版本
|
||||||
node-version: ${{ steps.tool-cache.outputs.node-version }}
|
node-version: ${{ steps.tool-cache.outputs.node-version }}
|
||||||
|
registry-url: https://registry.npmmirror.com
|
||||||
|
|
||||||
- name: 缓存
|
- name: 缓存
|
||||||
uses: https://gitea.cn/actions/cache@v4
|
uses: https://gitea.cn/actions/cache@v4
|
||||||
@ -32,7 +33,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if ! command -v yarn &> /dev/null; then
|
if ! command -v yarn &> /dev/null; then
|
||||||
echo "yarn 未安装,开始安装"
|
echo "yarn 未安装,开始安装"
|
||||||
npm install -g yarn --registry=https://registry.npmmirror.com
|
npm install -g yarn
|
||||||
else
|
else
|
||||||
echo "yarn 已安装"
|
echo "yarn 已安装"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user