Issue 296: importing old json #897
This file contains hidden or 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
| name: Test browsers | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| ci: | |
| name: Test browsers | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| - name: Install Chrome | |
| uses: browser-actions/setup-chrome@v2.1.1 | |
| with: | |
| chrome-version: "latest" | |
| - name: Install Firefox | |
| uses: browser-actions/setup-firefox@v1.7.1 | |
| with: | |
| firefox-version: "latest" | |
| - name: Install Xvfb | |
| run: sudo apt-get install -y xvfb | |
| - name: Install dependencies | |
| run: npm ci --ignore-scripts | |
| - name: Run browser tests | |
| run: | | |
| export DISPLAY=':99.0' | |
| Xvfb $DISPLAY -screen 0 1920x1080x24 & | |
| sleep 3 | |
| export XDG_RUNTIME_DIR="/run/user/$(id -u)" | |
| export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus" | |
| dbus-run-session npm test |