You should try your best not to compromise your hijab because this is more important
If this would be your only means of living and without it you are in unbearable difficulty then you can work there, otherwise if you know for sure that your hijab will be compromised regularly and it’s a requirement you should look for another job