setup-xvfb
setup-xvfb copied to clipboard
This action is no longer needed, GitHub Actions (ubuntu) ships with xvfb
See at the bottom of: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md
And a successful run at https://github.com/fregante/text-field-edit/actions/runs/6107546540/workflow#L28
I'd probably add a notice to the repo and/or deprecate it.
Thanks for linking the documentation. It was believed that this installation could have been an accident or some form of experimentation. We couldn't find a documentation noting XVFB officially so we continued to use the action. ✅ Support
Here's an updated link https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
This action works on all OS, while the GA one works only on Linux
This action works on all OS, while the GA one works only on Linux
- if: startsWith(matrix.os, 'ubuntu')
run: xvfb-run npm test
- if: "!startsWith(matrix.os, 'ubuntu')"
run: npm test
- See: https://github.com/coactions/setup-xvfb/pull/30