name: Pull Request CI on: pull_request: jobs: test: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 - name: Install deps run: npm install -f - name: Clone Zotero Plugin Scaffold # TEMP: Use the official repository once the PR is merged run: | git clone --branch add-test https://github.com/windingwind/zotero-plugin-scaffold.git zotero-plugin-scaffold cd zotero-plugin-scaffold npm install npm run build - name: Install Zotero Plugin Scaffold Locally # TEMP: Use the official repository once the PR is merged run: | npm install ./zotero-plugin-scaffold - name: Test run: npm test