Skip to content

Commit 89ff593

Browse files
committed
chore: fix postcss and autoprefixer
1 parent 14e79d3 commit 89ff593

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/hugo.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ jobs:
6565
echo "Node.js: $(node --version)"
6666
- name: Install Node.js dependencies
6767
run: |
68-
[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true
68+
if [[ -f package-lock.json || -f npm-shrinkwrap.json ]]; then
69+
npm ci
70+
else
71+
npm install
72+
fi
6973
- name: Configure Git
7074
run: |
7175
git config core.quotepath false
@@ -75,8 +79,7 @@ jobs:
7579
with:
7680
path: ${{ runner.temp }}/hugo_cache
7781
key: hugo-${{ github.run_id }}
78-
restore-keys:
79-
hugo-
82+
restore-keys: hugo-
8083
- name: Build the site
8184
run: |
8285
hugo \

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"autoprefixer": "^10.4.21",
4040
"cross-env": "^10.1.0",
4141
"hugo-extended": "0.151.0",
42+
"postcss": "^8.4.49",
4243
"postcss-cli": "^11.0.1",
4344
"rtlcss": "^4.3.0"
4445
},

0 commit comments

Comments
 (0)