mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-26 06:11:15 +00:00
update
This commit is contained in:
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@@ -25,21 +25,16 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: 'npm'
|
||||
cache-dependency-path: 'web/package.json'
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install dependencies and generate lock file
|
||||
run: |
|
||||
cd web
|
||||
if [ ! -f "package-lock.json" ]; then
|
||||
echo "package-lock.json not found. Running npm install to generate it."
|
||||
npm install
|
||||
else
|
||||
echo "package-lock.json found. Running npm ci."
|
||||
npm ci
|
||||
fi
|
||||
npm install @tailwindcss/typography
|
||||
npm install
|
||||
|
||||
- name: Build with Next.js
|
||||
run: |
|
||||
@@ -61,4 +56,3 @@ jobs:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
|
Reference in New Issue
Block a user