Skip to content

Commit dc56acf

Browse files
committed
fix ci
1 parent 4ffd2b9 commit dc56acf

File tree

4 files changed

+226
-381
lines changed

4 files changed

+226
-381
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7-
- package-ecosystem: "gomod"
7+
- package-ecosystem: "npm"
88
directory: "/"
99
schedule:
1010
interval: "weekly"

.github/workflows/hugo.yaml

+20-5
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,38 @@ jobs:
3434
HUGO_VERSION: 0.139.3
3535
steps:
3636
- uses: actions/checkout@v4
37+
3738
- name: Install pnpm
3839
uses: pnpm/action-setup@v4
3940
with:
4041
version: 10
42+
4143
- name: Use Node.js 22
4244
uses: actions/setup-node@v4
4345
with:
4446
node-version: 22
45-
cache: 'pnpm'
47+
4648
- name: Install dependencies
4749
run: pnpm install
50+
51+
- name: Install TailwindCSS
52+
run: pnpm add -g tailwindcss
53+
54+
- name: Ensure TailwindCSS is available
55+
run: |
56+
export PATH=$(pnpm bin):$PATH
57+
echo $PATH
58+
tailwindcss --help
59+
60+
- name: Debug Tailwind Binary
61+
run: ls -lah node_modules/.bin/
62+
63+
4864
- name: Install Hugo CLI
4965
run: |
5066
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
5167
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
52-
- name: Install Dart Sass
53-
run: sudo snap install dart-sass
68+
5469
- name: Checkout
5570
uses: actions/checkout@v4
5671
with:
@@ -60,8 +75,7 @@ jobs:
6075
- name: Setup Pages
6176
id: pages
6277
uses: actions/configure-pages@v5
63-
- name: Install Node.js dependencies
64-
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
78+
6579
- name: Build with Hugo
6680
env:
6781
# For maximum backward compatibility with Hugo modules
@@ -72,6 +86,7 @@ jobs:
7286
--gc \
7387
--minify \
7488
--baseURL "${{ steps.pages.outputs.base_url }}/"
89+
7590
- name: Upload artifact
7691
uses: actions/upload-pages-artifact@v3
7792
with:

0 commit comments

Comments
 (0)