fix: ci
This commit is contained in:
parent
06680647bf
commit
8b4b55a44a
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue