mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 02:25:59 +03:00 
			
		
		
		
	Add "pretest" and "posttest" scripts
This commit is contained in:
		
							parent
							
								
									1d57dea52c
								
							
						
					
					
						commit
						046c5e8b45
					
				| @ -17,12 +17,8 @@ jobs: | ||||
|     - name: "Test package" | ||||
|       language: node_js | ||||
|       node_js: 8 | ||||
|       before_script: | ||||
|         - npm run prepublishOnly | ||||
|       script: | ||||
|         - npm run test | ||||
|       after_script: | ||||
|         - npm run postpublish | ||||
| 
 | ||||
|     - stage: deploy | ||||
|       name: "NPM Package" | ||||
|  | ||||
| @ -27,6 +27,8 @@ | ||||
|     "svglint": "svglint icons/* --ci", | ||||
|     "prepublishOnly": "node scripts/prepublish.js", | ||||
|     "postpublish": "rm icons/*.js index.js", | ||||
|     "test": "jest" | ||||
|     "test": "jest", | ||||
|     "pretest": "npm run prepublishOnly", | ||||
|     "posttest": "npm run postpublish" | ||||
|   } | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user