Skip to content

Commit 033e95f

Browse files
authored
Use the NPM dependencies from the gha/v0 branch (#504)
The staging and production website builds now download `package.json` and `package-lock.json` from the `gha/v0` branch of `logging-parent`, so all Apache Logging websites share the same Antora dependency tree. Dependabot keeps those dependencies up to date there, which makes the local npm entry and the committed lock file redundant. Release website staging still uses the committed `package.json`, which now only points at the shared dependency set. Assisted-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 58816a8 commit 033e95f

4 files changed

Lines changed: 4 additions & 1935 deletions

File tree

.github/dependabot.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,3 @@ updates:
6666
github-actions-updates:
6767
patterns: [ "*" ]
6868
target-branch: "trunk"
69-
70-
- package-ecosystem: npm
71-
directory: "/"
72-
schedule:
73-
interval: "monthly"
74-
groups:
75-
npm-updates:
76-
patterns: [ "*" ]
77-
target-branch: "trunk"

.github/workflows/deploy-site.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
whoami: ${{ github.ref_name }}-site-stg-out
4747
subdir: content/flume/2.x
4848
install-required: true
49+
npm-dependencies-ref: gha/v0
4950
target-branch: ${{ github.ref_name }}-site-stg-out
5051

5152
deploy-site-pro:
@@ -61,6 +62,7 @@ jobs:
6162
whoami: ${{ github.ref_name }}-out
6263
subdir: content/flume/2.x
6364
install-required: true
65+
npm-dependencies-ref: gha/v0
6466
target-branch: ${{ github.ref_name }}-out
6567

6668
export-version:
@@ -88,4 +90,5 @@ jobs:
8890
whoami: ${{ github.ref_name }}-site-stg-out
8991
subdir: content/flume/${{ needs.export-version.outputs.version }}
9092
install-required: true
93+
# `npm-dependencies-ref` is omitted: the `package.json` committed in the repository is used
9194
target-branch: ${{ github.ref_name }}-site-stg-out

0 commit comments

Comments
 (0)