testing workflow
Some checks failed
Build frontend / build (push) Failing after 58s

This commit is contained in:
mouazkh
2026-03-19 00:05:17 +03:00
parent f56f417ca6
commit 45dcf54187

View File

@ -1,32 +1,29 @@
name: Build frontend name: Build frontend
on: on:
push: push:
branches: branches:
- main - main
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps:
steps:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v4 uses: actions/checkout@v2
with: with:
repository: Rahaf/SweetHome repository: Rahaf/SweetHome
github-server-url: http://45.93.137.91:3000 github-server-url: http://45.93.137.91:3000
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies (ignore peer conflicts) - name: Use Node.js 22.13.1
uses: actions/setup-node@v1
with:
node-version: 24.x
- name: Install dependencies
run: npm install --legacy-peer-deps run: npm install --legacy-peer-deps
- name: Generate build - name: Generate build
run: npm run build run: npm run build
- name: Copy to Nginx root - name: Copy to Nginx root
run: | run: |
sudo rm -rf /var/www/html/* sudo rm -rf /var/www/html/*