Skip to content

Commit 4ff8a2a

Browse files
committed
Fix CI npm install order
1 parent a2f9691 commit 4ff8a2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/hugo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ jobs:
4242
- name: Install Node.js
4343
uses: actions/setup-node@v3
4444

45-
- name: Install dependencies
46-
run: npm install --no-audit --prefer-offline
47-
4845
- name: Setup Pages
4946
id: pages
5047
uses: actions/configure-pages@v5
@@ -63,6 +60,9 @@ jobs:
6360
submodules: recursive
6461
lfs: true
6562

63+
- name: Install dependencies
64+
run: npm install --no-audit --prefer-offline
65+
6666
- name: Build with Hugo
6767
env:
6868
# For maximum backward compatibility with Hugo modules

0 commit comments

Comments
 (0)