Commit dc56acf 1 parent 4ffd2b9 commit dc56acf Copy full SHA for dc56acf
File tree 4 files changed +226
-381
lines changed
4 files changed +226
-381
lines changed Original file line number Diff line number Diff line change 4
4
directory : " /"
5
5
schedule :
6
6
interval : " weekly"
7
- - package-ecosystem : " gomod "
7
+ - package-ecosystem : " npm "
8
8
directory : " /"
9
9
schedule :
10
10
interval : " weekly"
Original file line number Diff line number Diff line change @@ -34,23 +34,38 @@ jobs:
34
34
HUGO_VERSION : 0.139.3
35
35
steps :
36
36
- uses : actions/checkout@v4
37
+
37
38
- name : Install pnpm
38
39
uses : pnpm/action-setup@v4
39
40
with :
40
41
version : 10
42
+
41
43
- name : Use Node.js 22
42
44
uses : actions/setup-node@v4
43
45
with :
44
46
node-version : 22
45
- cache : ' pnpm '
47
+
46
48
- name : Install dependencies
47
49
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
+
48
64
- name : Install Hugo CLI
49
65
run : |
50
66
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
51
67
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
52
- - name : Install Dart Sass
53
- run : sudo snap install dart-sass
68
+
54
69
- name : Checkout
55
70
uses : actions/checkout@v4
56
71
with :
60
75
- name : Setup Pages
61
76
id : pages
62
77
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
+
65
79
- name : Build with Hugo
66
80
env :
67
81
# For maximum backward compatibility with Hugo modules
72
86
--gc \
73
87
--minify \
74
88
--baseURL "${{ steps.pages.outputs.base_url }}/"
89
+
75
90
- name : Upload artifact
76
91
uses : actions/upload-pages-artifact@v3
77
92
with :
You can’t perform that action at this time.
0 commit comments