mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +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
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
|
cache: yarn
|
||||||
|
cache-dependency-path: web/yarn.lock
|
||||||
|
|
||||||
- name: Install dependencies and update package-lock.json
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
npm install
|
yarn install --frozen-lockfile
|
||||||
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
|
|
||||||
|
|
||||||
- name: Build Next.js project
|
- name: Build Next.js project
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
npm run build
|
yarn build
|
||||||
|
yarn export
|
||||||
|
|
||||||
- name: Copy guides and changelog
|
- name: Copy guides and changelog
|
||||||
run: |
|
run: |
|
||||||
@ -63,4 +61,3 @@ jobs:
|
|||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user