forked from mirrors/amnezia-wg-easy
		
	remove npm config
This commit is contained in:
		
							parent
							
								
									6ff6115e98
								
							
						
					
					
						commit
						f27f1f89bd
					
				
					 3 changed files with 0 additions and 10 deletions
				
			
		
							
								
								
									
										1
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -26,7 +26,6 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: npm run lint
 | 
					      - name: npm run lint
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          npm config set -g fund false
 | 
					 | 
				
			||||||
          cd src
 | 
					          cd src
 | 
				
			||||||
          npm ci
 | 
					          npm ci
 | 
				
			||||||
          npm run lint
 | 
					          npm run lint
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								.github/workflows/npm-update-bot.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/npm-update-bot.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -25,7 +25,6 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Bot 🤖 "Updating NPM Packages..."
 | 
					      - name: Bot 🤖 "Updating NPM Packages..."
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          npm config set -g fund false
 | 
					 | 
				
			||||||
          npm install -g --silent npm-check-updates
 | 
					          npm install -g --silent npm-check-updates
 | 
				
			||||||
          ncu -u
 | 
					          ncu -u
 | 
				
			||||||
          npm update
 | 
					          npm update
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,10 +3,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM docker.io/library/node:18-alpine AS build_node_modules
 | 
					FROM docker.io/library/node:18-alpine AS build_node_modules
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Hide fund and update-notifier message
 | 
					 | 
				
			||||||
RUN npm config set -g fund false &&\
 | 
					 | 
				
			||||||
    npm config set -g update-notifier false
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Copy Web UI
 | 
					# Copy Web UI
 | 
				
			||||||
COPY src/ /app/
 | 
					COPY src/ /app/
 | 
				
			||||||
WORKDIR /app
 | 
					WORKDIR /app
 | 
				
			||||||
| 
						 | 
					@ -15,10 +11,6 @@ RUN npm ci
 | 
				
			||||||
# This saves a lot of disk space.
 | 
					# This saves a lot of disk space.
 | 
				
			||||||
FROM docker.io/library/node:18-alpine
 | 
					FROM docker.io/library/node:18-alpine
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Hide fund and update-notifier message
 | 
					 | 
				
			||||||
RUN npm config set -g fund false &&\
 | 
					 | 
				
			||||||
    npm config set -g update-notifier false
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
COPY --from=build_node_modules /app /app
 | 
					COPY --from=build_node_modules /app /app
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Move node_modules one directory up, so during development
 | 
					# Move node_modules one directory up, so during development
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue