Skip to content

Commit 8360c88

Browse files
committed
Add submodule at checkout
1 parent 6cef06c commit 8360c88

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ jobs:
55
name: Run
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
9-
- uses: actions/setup-node@v3
8+
- uses: actions/checkout@v6
9+
with:
10+
submodules: true
11+
- uses: actions/setup-node@v6
1012
with:
1113
node-version: 'lts/*'
1214
cache: 'npm'

.github/workflows/test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ name: Test Workflow
33
on:
44
pull_request:
55
push:
6+
merge_group:
7+
workflow_dispatch:
68

79
jobs:
810
test:
911
runs-on: ubuntu-latest
1012
steps:
1113
- uses: actions/checkout@v6
14+
with:
15+
submodules: true
1216
- name: Set up Node.js
1317
uses: actions/setup-node@v6
1418
- name: Set up Python
@@ -18,4 +22,4 @@ jobs:
1822
- name: Install dependencies
1923
run: npm install
2024
- name: Run tests
21-
run: npm test
25+
run: npm test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Note that this browser extension does not make any changes to the Zotero databas
8181
1. Install [Node.js](https://nodejs.org) (e.g., `choco install nodejs`)
8282
2. Install [gulp](https://gulpjs.com/) and [web-ext](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Getting_started_with_web-ext): `npm install --global gulp-cli web-ext`
8383
3. [Fork the repository](https://help.github.com/articles/fork-a-repo/).
84-
4. Checkout the repository.
84+
4. Clone the repository **with submodules**: `git clone --recursive git@github.com:{your-username}/JabRef-Browser-Extension.git`
8585
5. Install development dependencies via `npm install`.
8686
6. **After cloning the repo execute the python script `scripts/import_and_patch_translators.py`**
8787
7. JabRef running locally and reachable over HTTP on a configurable port.

0 commit comments

Comments
 (0)