Workflow add installation of PostCSS and dependencies

This commit is contained in:
Anton Roslund
2025-02-16 20:04:20 +01:00
parent a37da1f2dc
commit 990c472798
5 changed files with 11 additions and 8 deletions
Vendored
BIN
View File
Binary file not shown.
+10
View File
@@ -17,6 +17,16 @@ jobs:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Install Node.js # ✅ Ensure Node.js is available
uses: actions/setup-node@v3
with:
node-version: '20' # Use latest LTS version
- name: Install PostCSS and dependencies
run: |
npm install -g postcss postcss-cli autoprefixer
npm install
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
-5
View File
@@ -1,5 +0,0 @@
go 1.19
use .
use ../docsy/ // Local docsy clone resides in sibling folder to this project
// use ./themes/docsy/ // Local docsy clone resides in themes folder
View File
+1 -3
View File
@@ -138,11 +138,9 @@ params:
enable: false
module:
# Uncomment the next line to build and serve using local docsy clone declared in the named Hugo workspace:
# workspace: docsy.work
hugoVersion:
extended: true
min: 0.110.0
min: 0.119.0
imports:
- path: github.com/google/docsy
disable: false