From Somport to Jaca, several villages with food and water. Then Jaca to Santa Cilia only the hotel I mentioned earlier.
Santa Cilia to Arres: there is a town over the bridge and slightly off route at Puente la Reina de Jaca. Last summer there was a gas station, small grocery, a pharmacy, and a bakery, but very limited places to stay as one of the hotel owners had some kind of accident and was closed. Arres has a traditional albergue with communal meal. We worked there 2 weeks last summer and loved it. There is also a Casa Rural in this village with a bar, but no store. No potable water in the next stretch until Artieda. I had a heat injury hiking this stretch 2 years ago in July when we ran out of water. Be careful when it's hot.
Artieda has an albergue, private rooms and a bar/restaurant, but no store (reserve dinner when you check in) Ruesta past that is only a albergue/hotel with restaurant (must reserve ahead for meals).
An albergue at Undes de Lerde. Don't know if there is a store. You can diverge after and go to Javier before you go on to Sanguesa to see the castle there. It is wonderful and there are a couple of nice but not expensive hotels here.
Sanguesa has all services including an albergue. Two things you may wish to detour to see here include the Montessario de Leyre (maybe take a taxi?). We took a cab and spent the night so we could hear the brothers chanting at Mass in the evening. A nice hospederia there. Also, we went last summer to see Sos del Rey Catolico, which is a wonderful walled city to the south on a hill (again, take a cab). We spent the night in the Paradore in Sos del Rey, but there is also an albergue and hotels.
After Sanguesa, there is the Lumbier gorge as a side trip. From Sanguesa or Lumbier, it is a very long stretch to Monreal with little infrastructure. Then on to Puenta la Reina with a stop at Tiebas albergue and also Eunate to see the famous church.
We did not walk past Artieda after I had my heat injury 2 years ago, but explored the area by cab and rental car over the next two summers when we were volunteers. It is a beautiful area and easy to see why it is popular with French and Spanish tourists.