Files
tamagotchi-service/.gitea/workflows/ci.yaml
T
Khalil e3c09e5792
CI / Build / build-and-test (push) Failing after 1m59s
Add CI workflow
2026-07-04 10:29:08 +00:00

34 lines
734 B
YAML

name: CI / Build
on:
push:
branches:
- main
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Node.js for API
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install API Dependencies
working-directory: ./api
run: npm install
- name: Install Frontend Dependencies
working-directory: ./frontend
run: npm install
- name: Run Backend Syntax Check
working-directory: ./api
run: node -c server.js
- name: CI Completed Successfully
run: echo "🎉 Build and checks passed successfully!"