mirror of
				https://github.com/bartvdbraak/omnidash.git
				synced 2025-10-31 00:19:12 +00:00 
			
		
		
		
	fix: Setup pnpm as package manager in workflows
				
					
				
			This commit is contained in:
		
							parent
							
								
									885a5f8d99
								
							
						
					
					
						commit
						043c639aa1
					
				
					 2 changed files with 24 additions and 7 deletions
				
			
		
							
								
								
									
										15
									
								
								.github/workflows/lighthouse-report.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/lighthouse-report.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -21,6 +21,9 @@ jobs: | ||||||
|     env: |     env: | ||||||
|       BRANCH_NAME: ${{ github.head_ref || github.ref_name }} |       BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         node-version: [18] | ||||||
|     steps: |     steps: | ||||||
|       - name: Sticky Comment on Pull Request |       - name: Sticky Comment on Pull Request | ||||||
|         uses: marocchino/sticky-pull-request-comment@v2.6.2 |         uses: marocchino/sticky-pull-request-comment@v2.6.2 | ||||||
|  | @ -31,13 +34,19 @@ jobs: | ||||||
| 
 | 
 | ||||||
|              |              | ||||||
| 
 | 
 | ||||||
|       - name: Check out |       - name: Checkout Git repository | ||||||
|         uses: actions/checkout@v3.5.3 |         uses: actions/checkout@v3.5.3 | ||||||
| 
 | 
 | ||||||
|       - name: Set up Node.js |       - name: Setup pnpm | ||||||
|  |         uses: pnpm/action-setup@v2.2.4 | ||||||
|  |         with: | ||||||
|  |           version: 8.6.2 | ||||||
|  | 
 | ||||||
|  |       - name: Setup Node.js | ||||||
|         uses: actions/setup-node@v3.6.0 |         uses: actions/setup-node@v3.6.0 | ||||||
|         with: |         with: | ||||||
|           node-version: 18 |           node-version: ${{ matrix.node-version }} | ||||||
|  |           cache: pnpm | ||||||
| 
 | 
 | ||||||
|       - name: Install Dependencies |       - name: Install Dependencies | ||||||
|         run: pnpm add -g @unlighthouse/cli puppeteer |         run: pnpm add -g @unlighthouse/cli puppeteer | ||||||
|  |  | ||||||
							
								
								
									
										16
									
								
								.github/workflows/lint-deps-check.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/lint-deps-check.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -16,15 +16,23 @@ jobs: | ||||||
|   run-checks: |   run-checks: | ||||||
|     name: Run checks |     name: Run checks | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
| 
 |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         node-version: [18, 20] | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out Git repository |       - name: Checkout Git repository | ||||||
|         uses: actions/checkout@v3.5.3 |         uses: actions/checkout@v3.5.3 | ||||||
| 
 | 
 | ||||||
|       - name: Set up Node.js |       - name: Setup pnpm | ||||||
|  |         uses: pnpm/action-setup@v2.2.4 | ||||||
|  |         with: | ||||||
|  |           version: 8.6.2 | ||||||
|  | 
 | ||||||
|  |       - name: Setup Node.js | ||||||
|         uses: actions/setup-node@v3.6.0 |         uses: actions/setup-node@v3.6.0 | ||||||
|         with: |         with: | ||||||
|           node-version: 18 |           node-version: ${{ matrix.node-version }} | ||||||
|  |           cache: pnpm | ||||||
| 
 | 
 | ||||||
|       - name: Install Node.js dependencies |       - name: Install Node.js dependencies | ||||||
|         run: pnpm install --frozen-lockfile |         run: pnpm install --frozen-lockfile | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue