Skip to content

Commit 4ee89da

Browse files
authored
Merge pull request #798 from per1234/deploy-website-npm
Install standard version of Node.js in "Deploy Website" workflow
2 parents 659b86c + df69370 commit 4ee89da

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: .github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml

+8
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@ on:
1717
paths:
1818
- "docs/**"
1919
- ".github/workflows/deploy-cobra-mkdocs-versioned-poetry.ya?ml"
20+
- "**/.npmrc"
2021
- "go.mod"
2122
- "go.sum"
2223
- "Taskfile.ya?ml"
2324
- "**.go"
2425
- "docsgen/**"
2526
- "ruledocsgen/**"
2627
- "mkdocs.ya?ml"
28+
- "package.json"
29+
- "package-lock.json"
2730
- "poetry.lock"
2831
- "pyproject.toml"
2932
# Run on branch or tag creation (will be filtered by the publish-determination job).
@@ -80,6 +83,11 @@ jobs:
8083
python -m pip install --upgrade pip
8184
python -m pip install poetry
8285
86+
- name: Setup Node.js
87+
uses: actions/setup-node@v4
88+
with:
89+
node-version-file: package.json
90+
8391
- name: Install Task
8492
uses: arduino/setup-task@v2
8593
with:

0 commit comments

Comments
 (0)