mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-27 16:26:31 +01:00 
			
		
		
		
	ci: Set up node environment & cache
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/dev.yml
									
									
									
									
										vendored
									
									
								
							| @@ -7,8 +7,12 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|       - name: Install dependencies |       - name: Set up node & dependencies | ||||||
|         run: npm i |         uses: actions/setup-node@v4 | ||||||
|  |         with: | ||||||
|  |           node-version: 18 | ||||||
|  |           cache: "npm" | ||||||
|  |       - run: npm ci     | ||||||
|       - name: Run the TypeScript build |       - name: Run the TypeScript build | ||||||
|         run: npx tsc |         run: npx tsc | ||||||
|       - name: Create server-package.json |       - name: Create server-package.json | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user