mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	chore(ci): get rid of size reporters
This commit is contained in:
		
							
								
								
									
										69
									
								
								.github/workflows/dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										69
									
								
								.github/workflows/dev.yml
									
									
									
									
										vendored
									
									
								
							| @@ -41,75 +41,6 @@ jobs: | ||||
|       - name: Check affected | ||||
|         run: pnpm nx affected --verbose -t typecheck build rebuild-deps | ||||
|  | ||||
|   report-electron-size: | ||||
|     name: Report Electron size | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: | ||||
|       - check-affected | ||||
|     steps: | ||||
|       - name: Checkout the repository | ||||
|         uses: actions/checkout@v4 | ||||
|  | ||||
|       - uses: pnpm/action-setup@v4 | ||||
|       - name: Set up node & dependencies | ||||
|         uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: 22 | ||||
|           cache: 'pnpm' | ||||
|       - name: Install dependencies | ||||
|         run: pnpm install --frozen-lockfile | ||||
|  | ||||
|       - name: Run the build | ||||
|         uses: ./.github/actions/build-electron | ||||
|         with: | ||||
|           os: linux | ||||
|           arch: x64 | ||||
|           shell: bash | ||||
|           forge_platform: linux | ||||
|  | ||||
|       - name: Run the Electron size report | ||||
|         uses: ./.github/actions/report-size | ||||
|         with: | ||||
|           paths: 'upload/**/*' | ||||
|           onlyDiff: 'true' | ||||
|           branch: 'develop' | ||||
|           header: 'Electron size report' | ||||
|           unit: "MB" | ||||
|           ghToken: ${{ secrets.GITHUB_TOKEN }} | ||||
|   report-server-size: | ||||
|     name: Report server size | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: | ||||
|       - check-affected | ||||
|     steps: | ||||
|       - name: Checkout the repository | ||||
|         uses: actions/checkout@v4 | ||||
|  | ||||
|       - uses: pnpm/action-setup@v4 | ||||
|       - name: Set up node & dependencies | ||||
|         uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: 22 | ||||
|           cache: "pnpm" | ||||
|  | ||||
|       - run: pnpm install --frozen-lockfile | ||||
|  | ||||
|       - name: Run the build | ||||
|         uses: ./.github/actions/build-server | ||||
|         with: | ||||
|           os: linux | ||||
|           arch: x64 | ||||
|  | ||||
|       - name: Run the server size report | ||||
|         uses: ./.github/actions/report-size | ||||
|         with: | ||||
|           paths: 'upload/**/*' | ||||
|           onlyDiff: 'true' | ||||
|           branch: 'develop' | ||||
|           header: 'Server size report' | ||||
|           unit: "MB" | ||||
|           ghToken: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   test_dev: | ||||
|     name: Test development | ||||
|     runs-on: ubuntu-latest | ||||
|   | ||||
		Reference in New Issue
	
	Block a user