Skip to content

fix: buildind yml

fix: buildind yml #6

Workflow file for this run

name: Build
on:
push:
branches:
- devops
pull_request:
branches:
- devops
jobs:
build:
runs-on: ubuntu-latest # Utilisation d'un runner GitHub-hosted sur Ubuntu
container:
image: 'djelale/assistme:1.0.0'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install and start client
run: |
cd client
npm install
npm run build
- name: Install and start server
run: |
cd server
npm install
npm run build