Skip to content

Commit 4194949

Browse files
committed
Add missing actions/setup-node for publish workflow
1 parent 4ddb3c8 commit 4194949

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ jobs:
3333
hugo-version: ${{ vars.HUGO_VERSION }}
3434
extended: true
3535

36+
- uses: actions/setup-node@v4
37+
with:
38+
node-version: "22"
39+
cache: "npm"
40+
# The action defaults to search for the dependency file (package-lock.json,
41+
# npm-shrinkwrap.json or yarn.lock) in the repository root, and uses its
42+
# hash as a part of the cache key.
43+
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data
44+
cache-dependency-path: "**/package-lock.json"
45+
3646
- name: Build
3747
run: make -C community.hachyderm.io hugo
3848

0 commit comments

Comments
 (0)