This commit is contained in:
		
							parent
							
								
									2567534a9d
								
							
						
					
					
						commit
						2827c1f160
					
				| @ -31,15 +31,15 @@ jobs: | ||||
|           node --version | ||||
|           npm --version | ||||
| 
 | ||||
|       # 检查并安装依赖(如果需要) | ||||
|       - name: Install dependencies if needed | ||||
|         run: |           | ||||
|           if [ ! -d "node_modules" ]; then | ||||
|           echo "node_modules not found, installing dependencies..." | ||||
|           npm install | ||||
|           else | ||||
|           echo "node_modules already exists, skipping installation" | ||||
|           fi | ||||
| #      # 检查并安装依赖(如果需要) | ||||
| #      - name: Install dependencies if needed | ||||
| #        run: | | ||||
| #          if [ ! -d "node_modules" ]; then | ||||
| #          echo "node_modules not found, installing dependencies..." | ||||
| #          npm install | ||||
| #          else | ||||
| #          echo "node_modules already exists, skipping installation" | ||||
| #          fi | ||||
| 
 | ||||
|       # 构建项目 | ||||
|       - name: Build project | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 libingxiang
						libingxiang