Skip to content

Commit 2f25f45

Browse files
Arthurvdvclaude
andauthored
fix(ci): restore Dart Sass install step (#170)
Docsy v0.17.0 requires Dart Sass, which Hugo invokes as the `sass` executable on PATH. The GitHub runner does not pick up the sass-embedded npm binary from node_modules the way local builds do, so the theme's SCSS fails to transpile. Reinstate the snap install; the sass-embedded devDependency stays for zero-setup local development. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 22c56fd commit 2f25f45

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/hugo.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
run: |
3838
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
3939
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
40+
- name: Install Dart Sass
41+
run: sudo snap install dart-sass
4042
- name: Checkout
4143
uses: actions/checkout@v7
4244
with:

0 commit comments

Comments
 (0)