diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 869133f..bed017f 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -47,7 +47,7 @@ jobs: id: pages uses: actions/configure-pages@v3 - name: Install Node.js dependencies - run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci -D postcss-cli || true" + run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci && npm install -g postcss-cli || true" - name: Build with Hugo env: # For maximum backward compatibility with Hugo modules