The planning board has declared its intention to be the lead agency overseeing the environmental impact of a planned warehouse