mirror of
				https://github.com/bartvdbraak/hellob.art.git
				synced 2025-10-30 19:59:10 +00:00 
			
		
		
		
	refactor: use npm instead of pnpm
This commit is contained in:
		
							parent
							
								
									d395b0357e
								
							
						
					
					
						commit
						bd7f318514
					
				
					 1 changed files with 4 additions and 11 deletions
				
			
		
							
								
								
									
										15
									
								
								.github/workflows/unlighthouse.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/unlighthouse.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -29,29 +29,22 @@ jobs: | ||||||
|       - name: Checkout repository |       - name: Checkout repository | ||||||
|         uses: actions/checkout@v4.0.0 |         uses: actions/checkout@v4.0.0 | ||||||
| 
 | 
 | ||||||
|       - name: Setup pnpm |  | ||||||
|         uses: pnpm/action-setup@v2.4.0 |  | ||||||
|         with: |  | ||||||
|           version: latest |  | ||||||
| 
 |  | ||||||
|       - name: Use Node.js ${{ matrix.node-version }} |       - name: Use Node.js ${{ matrix.node-version }} | ||||||
|         uses: actions/setup-node@v3.8.1 |         uses: actions/setup-node@v3.8.1 | ||||||
|         with: |         with: | ||||||
|           node-version: ${{ matrix.node-version }} |           node-version: ${{ matrix.node-version }} | ||||||
|           cache: 'pnpm' |  | ||||||
| 
 | 
 | ||||||
|       - name: Install dependencies |       - name: Install dependencies | ||||||
|         run: pnpm install --frozen-lockfile |         run: npm install --frozen-lockfile | ||||||
| 
 | 
 | ||||||
|       - name: Build production |       - name: Build production | ||||||
|         run: pnpm run build |         run: npm run build | ||||||
| 
 | 
 | ||||||
|       - name: Start Preview and Get Preview URL |       - name: Start Preview and Get Preview URL | ||||||
|         run: | |         run: npm run preview --port ${{ env.PORT }} & echo $! > preview_pid | ||||||
|           pnpm run preview --port ${{ env.PORT }} & echo $! > preview_pid |  | ||||||
| 
 | 
 | ||||||
|       - name: Install Dependencies |       - name: Install Dependencies | ||||||
|         run: pnpm add -g @unlighthouse/cli puppeteer |         run: npm add -g @unlighthouse/cli puppeteer | ||||||
| 
 | 
 | ||||||
|       - name: Run Unlighthouse |       - name: Run Unlighthouse | ||||||
|         run: | |         run: | | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue