forked from OpenWF/SpaceNinjaServer
		
	chore: define node version constraints (#2703)
`>=20.18.1` is required for `npm i && npm run build && npm run start` to succeed. `npm run raw` would require `>=22.7.0`. Reviewed-on: OpenWF/SpaceNinjaServer#2703 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									287acab892
								
							
						
					
					
						commit
						c9cc1fa089
					
				
							
								
								
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -12,7 +12,7 @@ jobs:
 | 
				
			|||||||
            - name: Setup Node.js environment
 | 
					            - name: Setup Node.js environment
 | 
				
			||||||
              uses: actions/setup-node@v4.0.2
 | 
					              uses: actions/setup-node@v4.0.2
 | 
				
			||||||
              with:
 | 
					              with:
 | 
				
			||||||
                  node-version: ">=20.6.0"
 | 
					                  node-version: ">=20.18.1"
 | 
				
			||||||
            - run: npm ci
 | 
					            - run: npm ci
 | 
				
			||||||
            - run: cp config-vanilla.json config.json
 | 
					            - run: cp config-vanilla.json config.json
 | 
				
			||||||
            - run: npm run verify
 | 
					            - run: npm run verify
 | 
				
			||||||
 | 
				
			|||||||
@ -57,5 +57,8 @@
 | 
				
			|||||||
    "eslint-plugin-prettier": "^5.2.5",
 | 
					    "eslint-plugin-prettier": "^5.2.5",
 | 
				
			||||||
    "prettier": "^3.5.3",
 | 
					    "prettier": "^3.5.3",
 | 
				
			||||||
    "tree-kill": "^1.2.2"
 | 
					    "tree-kill": "^1.2.2"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "engines": {
 | 
				
			||||||
 | 
					    "node": ">=20.18.1"
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user