Build GitHub Pages site with npm install

This commit is contained in:
Xisheng-Zhao
2026-06-08 21:54:48 +08:00
parent 826f9352e9
commit b7b2f3f183
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
node-version: 20 node-version: 20
cache: npm cache: npm
cache-dependency-path: site/package-lock.json cache-dependency-path: site/package-lock.json
- run: cd site && npm ci && npm run build - run: cd site && npm install && npm run build
- uses: actions/upload-pages-artifact@v3 - uses: actions/upload-pages-artifact@v3
with: with:
path: site/dist path: site/dist