mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	升级:升级前端依赖,并更换包管理器 yarn => pnpm
1.arco design pro vue 2.6.1 => 2.7.0 2.arco design vue 2.40.1 => 2.44.5 3.vue 3.2.45 => 3.2.47 4.typescript 4.9.4 => 4.9.5 5.其他依赖升级
This commit is contained in:
		
							
								
								
									
										23
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							| @@ -58,22 +58,27 @@ jobs: | ||||
|       # 1、检出源码 | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@master | ||||
|       # 2、安装 Node 环境 | ||||
|       # 2、安装 PNPM | ||||
|       - name: Setup PNPM | ||||
|         uses: pnpm/action-setup@v2 | ||||
|         with: | ||||
|           version: latest | ||||
|       # 3、安装 Node 环境 | ||||
|       - name: Setup Node | ||||
|         uses: actions/setup-node@v3 | ||||
|         with: | ||||
|           node-version: 16 | ||||
|           cache: yarn | ||||
|           cache-dependency-path: ./continew-admin-ui/yarn.lock | ||||
|       # 3、安装依赖 | ||||
|           cache: pnpm | ||||
|           cache-dependency-path: ./continew-admin-ui/pnpm-lock.yaml | ||||
|       # 4、安装依赖 | ||||
|       - name: Install Dependencies | ||||
|         run: yarn install --frozen-lockfile | ||||
|         run: pnpm i --frozen-lockfile | ||||
|         working-directory: ./continew-admin-ui | ||||
|       # 4、打包 | ||||
|       # 5、打包 | ||||
|       - name: Build | ||||
|         run: yarn build | ||||
|         run: pnpm build | ||||
|         working-directory: ./continew-admin-ui | ||||
|       # 5、拷贝文件到服务器 | ||||
|       # 6、拷贝文件到服务器 | ||||
|       - name: Copy | ||||
|         uses: garygrossgarten/github-action-scp@release | ||||
|         with: | ||||
| @@ -83,7 +88,7 @@ jobs: | ||||
|           password: ${{ secrets.SERVER_PASSWORD }} | ||||
|           local: ./continew-admin-ui/dist | ||||
|           remote: /docker/continew-admin/tmp | ||||
|       # 6、重启前端服务 | ||||
|       # 7、重启前端服务 | ||||
|       - name: Restart | ||||
|         uses: appleboy/ssh-action@master | ||||
|         with: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user