diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 53a2718..b968b29 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -43,11 +43,17 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + - name: Setup Node.js environment + uses: actions/setup-node@v2 + with: + node-version: '14' # Specify the Node.js version you need - name: Setup Pages id: pages uses: actions/configure-pages@v5 - name: Install Node.js dependencies run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" + - name: Install PostCSS CLI + run: npm install -g postcss-cli - name: Build with Hugo env: # For maximum backward compatibility with Hugo modules