chore(frontend): make frontend build runnable on headless ci server