mirror of
https://github.com/Roslund/sthlm-mesh.git
synced 2026-08-10 19:03:21 +02:00
Workflow add installation of PostCSS and dependencies
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user