mirror of https://gitlab.com/curben/blog
				
				
				
			Revert "ci(gitlab): install hexo globally (test)"
This reverts commit 829e1aa47b.
			
			
This commit is contained in:
		
							parent
							
								
									829e1aa47b
								
							
						
					
					
						commit
						fead9c7cdb
					
				|  | @ -10,12 +10,12 @@ variables: | |||
| test: | ||||
|   before_script: | ||||
|     - 'which ssh-agent || (apk update && apk add openssh-client git)' | ||||
|     - npm install -g hexo-cli | ||||
|     - npm install | ||||
|     - npm install -g pnpm | ||||
|     - pnpm install | ||||
| 
 | ||||
|   script: | ||||
|     # - npm install snyk && npm run snyk # Refer to "scripts" in package.json | ||||
|     - hexo generate | ||||
|     - pnpm install snyk && pnpm run snyk # Refer to "scripts" in package.json | ||||
|     - pnpm run hexo | ||||
| 
 | ||||
|   # Update github mirror | ||||
|   after_script: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue