Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
paranext-core/package-lock.json
node-version-file: extension-repo/package.json

# Our editor `file:` dependency points into core's gitignored `dev-packages/staging/`, which
# only core's `preinstall` creates — and the core install below runs `--ignore-scripts`. npm
# links a missing `file:` target silently, so skipping this leaves a broken symlink.
- name: Stage paranext-core's dev packages
working-directory: paranext-core
run: npm run stage-dev-packages

- name: Install extension dependencies
working-directory: extension-repo
run: npm ci
Expand All @@ -44,6 +51,13 @@ jobs:
working-directory: paranext-core
run: npm ci --ignore-scripts

# The staged packages come from the branch dev-packages.json pins, which moves independently
# of core's commits, so the tree just installed can describe a different editor than core's
# lockfile does. Core's postinstall makes this check; `--ignore-scripts` above skips it.
- name: Verify core's staged dev packages match its lockfile
working-directory: paranext-core
run: npm run verify:dev-packages

- name: Run format checking
working-directory: extension-repo
run: npm run format:check
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ jobs:
paranext-core/package-lock.json
node-version: ${{ fromJson(steps.package_json.outputs.volta).node }}

# Our editor `file:` dependency points into core's gitignored `dev-packages/staging/`, which
# only core's `preinstall` creates — and the core install below runs `--ignore-scripts`. npm
# links a missing `file:` target silently, so skipping this leaves a broken symlink.
- name: Stage paranext-core's dev packages
working-directory: paranext-core
run: npm run stage-dev-packages

- name: Install packages
run: |
npm ci
Expand All @@ -82,6 +89,13 @@ jobs:
run: |
npm ci --ignore-scripts

# The staged packages come from the branch dev-packages.json pins, which moves independently
# of core's commits, so the tree just installed can describe a different editor than core's
# lockfile does. Core's postinstall makes this check; `--ignore-scripts` above skips it.
- name: Verify core's staged dev packages match its lockfile
working-directory: paranext-core
run: npm run verify:dev-packages

- name: Package for distribution
run: |
npm run package
Expand Down
Loading
Loading