Skip to content

Commit 374d071

Browse files
committed
Replace Snap dart-sass with npm sass in CI
Snap store is unreliable in GitHub Actions (503 errors). Use npm install -g sass via Node 20 instead.
1 parent f1a822e commit 374d071

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/hugo.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ jobs:
3333
run: |
3434
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
3535
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
36+
- name: Setup Node
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: 20
3640
- name: Install Dart Sass
37-
run: sudo snap install dart-sass
41+
run: npm install -g sass
3842
- name: Checkout
3943
uses: actions/checkout@v4
4044
with:

0 commit comments

Comments
 (0)