From d50d2f573bdd899b008e1395e26ffdbd9ee32271 Mon Sep 17 00:00:00 2001 From: kongxiangyiren Date: Wed, 22 May 2024 08:50:18 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/youzi?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/youzi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/youzi.yml b/.gitea/workflows/youzi.yml index e4fcb24..66a057a 100644 --- a/.gitea/workflows/youzi.yml +++ b/.gitea/workflows/youzi.yml @@ -20,6 +20,7 @@ jobs: with: # gitea-tool-cache导出 node 具体版本 node-version: ${{ steps.tool-cache.outputs.node-version }} + cache: 'yarn' - name: 缓存 uses: https://gitea.cn/actions/cache@v4 @@ -30,6 +31,7 @@ jobs: - name: Install and Build # 下载依赖 打包项目 run: | + corepack install yarn install yarn build - name: Appleboy From 489a59d0f37fecf44698726d21cc81e366160c29 Mon Sep 17 00:00:00 2001 From: kongxiangyiren Date: Wed, 22 May 2024 08:53:40 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/youzi?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/youzi.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/youzi.yml b/.gitea/workflows/youzi.yml index 66a057a..87016f2 100644 --- a/.gitea/workflows/youzi.yml +++ b/.gitea/workflows/youzi.yml @@ -20,7 +20,6 @@ jobs: with: # gitea-tool-cache导出 node 具体版本 node-version: ${{ steps.tool-cache.outputs.node-version }} - cache: 'yarn' - name: 缓存 uses: https://gitea.cn/actions/cache@v4 @@ -31,7 +30,7 @@ jobs: - name: Install and Build # 下载依赖 打包项目 run: | - corepack install + npm i yarn --registry=https://registry.npmmirror.com yarn install yarn build - name: Appleboy From 1c307d27f9fe5d48cb960f5a9e9bf8e6a71bcc0c Mon Sep 17 00:00:00 2001 From: kongxiangyiren Date: Wed, 22 May 2024 08:54:53 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/youzi?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/youzi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/youzi.yml b/.gitea/workflows/youzi.yml index 87016f2..83cdb04 100644 --- a/.gitea/workflows/youzi.yml +++ b/.gitea/workflows/youzi.yml @@ -30,7 +30,7 @@ jobs: - name: Install and Build # 下载依赖 打包项目 run: | - npm i yarn --registry=https://registry.npmmirror.com + npm i yarn -g --registry=https://registry.npmmirror.com yarn install yarn build - name: Appleboy From 1129e019c19228780fc3052cef87d984ff102cc7 Mon Sep 17 00:00:00 2001 From: kongxiangyiren Date: Wed, 22 May 2024 08:56:37 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/youzi?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/youzi.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/workflows/youzi.yml b/.gitea/workflows/youzi.yml index 83cdb04..e4fcb24 100644 --- a/.gitea/workflows/youzi.yml +++ b/.gitea/workflows/youzi.yml @@ -30,7 +30,6 @@ jobs: - name: Install and Build # 下载依赖 打包项目 run: | - npm i yarn -g --registry=https://registry.npmmirror.com yarn install yarn build - name: Appleboy