This commit is contained in:
windingwind 2024-12-08 15:37:27 +01:00
parent 06680647bf
commit 8b4b55a44a

View File

@ -17,7 +17,11 @@ jobs:
- name: Set Up Node.js
uses: actions/setup-node@v4
with:
node-version: '20' # Use the appropriate version for your project
node-version: "20" # Use the appropriate version for your project
- name: Install xvfb # Required for running headless tests
if: env.ACT != 'true'
run: sudo apt update && sudo apt install -y xvfb
- name: Clone Zotero Plugin Scaffold # TEMP: Use the official repository once the PR is merged
run: |
@ -45,7 +49,7 @@ jobs:
- name: Run Tests
run: |
npx zotero-plugin test --abortOnFail --exitOnFinish
xvfb-run npx zotero-plugin test --abortOnFail --exitOnFinish
env:
ZOTERO_PLUGIN_ZOTERO_BIN_PATH: ${{ env.ZOTERO_PLUGIN_ZOTERO_BIN_PATH }}