mirror of
				https://github.com/theoludwig/theoludwig.git
				synced 2025-10-14 20:23:25 +02:00 
			
		
		
		
	chore: remove unneeded Lighthouse checking
This commit is contained in:
		| @@ -3,18 +3,22 @@ | ||||
|   "dockerComposeFile": "./docker-compose.yml", | ||||
|   "service": "workspace", | ||||
|   "workspaceFolder": "/workspace", | ||||
|   "settings": { | ||||
|     "remote.autoForwardPorts": false | ||||
|   "customizations": { | ||||
|     "vscode": { | ||||
|       "settings": { | ||||
|         "remote.autoForwardPorts": false | ||||
|       }, | ||||
|       "extensions": [ | ||||
|         "editorconfig.editorconfig", | ||||
|         "esbenp.prettier-vscode", | ||||
|         "dbaeumer.vscode-eslint", | ||||
|         "bradlc.vscode-tailwindcss", | ||||
|         "mikestead.dotenv", | ||||
|         "davidanson.vscode-markdownlint", | ||||
|         "ms-azuretools.vscode-docker" | ||||
|       ] | ||||
|     } | ||||
|   }, | ||||
|   "extensions": [ | ||||
|     "editorconfig.editorconfig", | ||||
|     "esbenp.prettier-vscode", | ||||
|     "dbaeumer.vscode-eslint", | ||||
|     "bradlc.vscode-tailwindcss", | ||||
|     "mikestead.dotenv", | ||||
|     "davidanson.vscode-markdownlint", | ||||
|     "ms-azuretools.vscode-docker" | ||||
|   ], | ||||
|   "forwardPorts": [3000], | ||||
|   "postAttachCommand": ["npm", "install"], | ||||
|   "remoteUser": "node" | ||||
|   | ||||
							
								
								
									
										24
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -24,7 +24,7 @@ jobs: | ||||
|       - name: 'Unit Test' | ||||
|         run: 'npm run test:unit' | ||||
|  | ||||
|   test-lighthouse: | ||||
|   test-e2e: | ||||
|     runs-on: 'ubuntu-latest' | ||||
|     steps: | ||||
|       - uses: 'actions/checkout@v3.5.0' | ||||
| @@ -44,27 +44,5 @@ jobs: | ||||
|       - name: 'html-w3c-validator' | ||||
|         run: 'npm run test:html-w3c-validator' | ||||
|  | ||||
|       - name: 'Lighthouse' | ||||
|         run: 'npm run test:lighthouse' | ||||
|         env: | ||||
|           LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} | ||||
|  | ||||
|   test-e2e: | ||||
|     runs-on: 'ubuntu-latest' | ||||
|     steps: | ||||
|       - uses: 'actions/checkout@v3.5.0' | ||||
|  | ||||
|       - name: 'Use Node.js' | ||||
|         uses: 'actions/setup-node@v3.6.0' | ||||
|         with: | ||||
|           node-version: '18.x' | ||||
|           cache: 'npm' | ||||
|  | ||||
|       - name: 'Install' | ||||
|         run: 'npm install' | ||||
|  | ||||
|       - name: 'Build' | ||||
|         run: 'npm run build' | ||||
|  | ||||
|       - name: 'End To End (e2e) Test' | ||||
|         run: 'npm run test:e2e' | ||||
|   | ||||
| @@ -1,30 +0,0 @@ | ||||
| { | ||||
|   "ci": { | ||||
|     "collect": { | ||||
|       "startServerCommand": "npm run start", | ||||
|       "startServerReadyPattern": "ready on", | ||||
|       "startServerReadyTimeout": 20000, | ||||
|       "url": [ | ||||
|         "http://127.0.0.1:3000/", | ||||
|         "http://127.0.0.1:3000/blog", | ||||
|         "http://127.0.0.1:3000/blog/hello-world" | ||||
|       ], | ||||
|       "numberOfRuns": 1 | ||||
|     }, | ||||
|     "assert": { | ||||
|       "preset": "lighthouse:recommended", | ||||
|       "assertions": { | ||||
|         "csp-xss": "warning", | ||||
|         "non-composited-animations": "warning", | ||||
|         "unused-javascript": "warning", | ||||
|         "image-size-responsive": "warning", | ||||
|         "unsized-images": "warning", | ||||
|         "color-contrast": "warning" | ||||
|       } | ||||
|     }, | ||||
|     "upload": { | ||||
|       "target": "temporary-public-storage" | ||||
|     }, | ||||
|     "server": {} | ||||
|   } | ||||
| } | ||||
| @@ -21,29 +21,7 @@ If you're adding new features to **divlo.fr**, please include tests. | ||||
|  | ||||
| ## Commits | ||||
|  | ||||
| The commit message guidelines respect [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional) and [Semantic Versioning](https://semver.org/) for releases. | ||||
|  | ||||
| ### Types | ||||
|  | ||||
| Types define which kind of changes you made to the project. | ||||
|  | ||||
| | Types    | Description                                                                                                  | | ||||
| | -------- | ------------------------------------------------------------------------------------------------------------ | | ||||
| | feat     | A new feature.                                                                                               | | ||||
| | fix      | A bug fix.                                                                                                   | | ||||
| | docs     | Documentation only changes.                                                                                  | | ||||
| | style    | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).      | | ||||
| | refactor | A code change that neither fixes a bug nor adds a feature.                                                   | | ||||
| | perf     | A code change that improves performance.                                                                     | | ||||
| | test     | Adding missing tests or correcting existing tests.                                                           | | ||||
| | build    | Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm).         | | ||||
| | ci       | Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs). | | ||||
| | chore    | Other changes that don't modify src or test files.                                                           | | ||||
| | revert   | Reverts a previous commit.                                                                                   | | ||||
|  | ||||
| ### Scopes | ||||
|  | ||||
| Scopes define what part of the code changed. | ||||
| The commit message guidelines respect [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional) and [Semantic Versioning](https://semver.org/) for releases. | ||||
|  | ||||
| ## Getting Started | ||||
|  | ||||
| @@ -86,4 +64,4 @@ docker compose up --build | ||||
|  | ||||
| ### Services started | ||||
|  | ||||
| - website : `http://127.0.0.1:3000` | ||||
| - website: `http://127.0.0.1:3000` | ||||
|   | ||||
							
								
								
									
										2188
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2188
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -23,7 +23,6 @@ | ||||
|     "lint:staged": "lint-staged", | ||||
|     "test:unit": "cypress run --component", | ||||
|     "test:html-w3c-validator": "start-server-and-test \"start\" \"http://127.0.0.1:3000\" \"html-w3c-validator\"", | ||||
|     "test:lighthouse": "lhci autorun", | ||||
|     "test:e2e": "start-server-and-test \"start\" \"http://127.0.0.1:3000\" \"cypress run\"", | ||||
|     "test:dev": "start-server-and-test \"dev\" \"http://127.0.0.1:3000\" \"cypress open\"", | ||||
|     "resume:build": "node ./jsonresume-theme-custom/build.js", | ||||
| @@ -62,7 +61,6 @@ | ||||
|   "devDependencies": { | ||||
|     "@commitlint/cli": "17.6.3", | ||||
|     "@commitlint/config-conventional": "17.6.3", | ||||
|     "@lhci/cli": "0.12.0", | ||||
|     "@saithodev/semantic-release-backmerge": "3.1.0", | ||||
|     "@semantic-release/git": "10.0.1", | ||||
|     "@tailwindcss/typography": "0.5.9", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user