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
+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: