From 990c472798243b0184dbe10f6d1c02fa6de04ac7 Mon Sep 17 00:00:00 2001 From: Anton Roslund Date: Sun, 16 Feb 2025 20:04:20 +0100 Subject: [PATCH] Workflow add installation of PostCSS and dependencies --- .DS_Store | Bin 0 -> 6148 bytes .github/workflows/hugo.yml | 10 ++++++++++ docsy.work | 5 ----- docsy.work.sum | 0 hugo.yaml | 4 +--- 5 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 .DS_Store delete mode 100644 docsy.work delete mode 100644 docsy.work.sum diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..3f1ec81459a135566de64b066df78810d02d7aac GIT binary patch literal 6148 zcmeHKu};H441HHBRK(Je@ir!?_=Bhl8)5*lQ`Cwg5gIiKb3UEtv#F8>CIqUGE!pqR zv2&MqQ5*vZ^JaMkOaV-&f}<0fFGQ}34rFAWF)^fjY_Kfrr<t zW`?a|`gG8w7Jw+fkx4j~UP5xBVP@DW@(LwrDp6B|wHQIu>5mqd8Mca=j$qA4u$6;# zC?T!R`^OZHkSV%#2AqLD14lZYO8vk7zW?th`OFz`2L2TTVVvLRb3T&Q*1^L`t&P-2 ps))q3in|mJQYmJvl;SgL68fVIh?!xlNDsw-1QHEyoPj@O-~&*PN7VoT literal 0 HcmV?d00001 diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index e51d135..bd7d7ff 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -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: diff --git a/docsy.work b/docsy.work deleted file mode 100644 index 074dc2a..0000000 --- a/docsy.work +++ /dev/null @@ -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 diff --git a/docsy.work.sum b/docsy.work.sum deleted file mode 100644 index e69de29..0000000 diff --git a/hugo.yaml b/hugo.yaml index 8f53eb6..5c9aa0c 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -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