chore: Update dependencies #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: | |
- master | |
name: Test extension | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: npm install | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 23 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
libnss3 \ | |
libx11-xcb1 \ | |
libxcomposite1 \ | |
libxcursor1 \ | |
libxdamage1 \ | |
libxfixes3 \ | |
libxi6 \ | |
libxrandr2 \ | |
libxtst6 \ | |
mesa-utils \ | |
x11-utils \ | |
xserver-xorg-core \ | |
xserver-xorg-video-dummy \ | |
xvfb | |
- name: Install npm dependencies | |
run: npm install | |
- name: Run Code | |
run: | | |
export LIBGL_ALWAYS_SOFTWARE=1 | |
export MESA_LOADER_DRIVER_OVERRIDE=swrast | |
export ELECTRON_DISABLE_GPU=1 | |
export ELECTRON_OZONE_PLATFORM_HINT=x11 | |
xvfb-run --auto-servernum npm test |