The California Building Standards Commission announced on Friday the unanimous adoption of a statewide green building code, the first in the nation.