mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +00:00
Update nextjs.yml
This commit is contained in:
parent
22f0fc4ed5
commit
158c5e4558
15
.github/workflows/nextjs.yml
vendored
15
.github/workflows/nextjs.yml
vendored
@ -25,21 +25,19 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: yarn
|
||||
cache-dependency-path: web/yarn.lock
|
||||
|
||||
- name: Install dependencies and update package-lock.json
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd web
|
||||
npm install
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git add package-lock.json
|
||||
git commit -m "Update package-lock.json" || echo "No changes to commit"
|
||||
git push
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
- name: Build Next.js project
|
||||
run: |
|
||||
cd web
|
||||
npm run build
|
||||
yarn build
|
||||
yarn export
|
||||
|
||||
- name: Copy guides and changelog
|
||||
run: |
|
||||
@ -63,4 +61,3 @@ jobs:
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user