Lithium reacts with nitrogen to form nitride - Li2N. However, the reaction proceeds rapidly in the presence of traces of moisture. In a dry atmosphere, lithium metal is fairly stable. But if it is supposed to work with its compounds, I would suggest replacing the nitrogen atmosphere with argon or helium.