Skip to content

Add GitHub Actions CI workflow for PRs 🤖 #386

Description

@anoopcodehack

Add GitHub Actions CI workflow for PRs 🤖

File: .github/workflows/ci.yml (new file)

No automated checks on PRs 💀
Bad code could slip through fr!!

Fix: create .github/workflows/ci.yml:
name: CI

on:
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install client deps
run: cd devboard/client && npm install
- name: Build client
run: cd devboard/client && npm run build
- name: Install server deps
run: cd devboard/server && npm install

~20 lines! Runs on every PR automatically 🔥
Shows ✅ or ❌ on each PR!!
No frontend/backend changes needed 🎯

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions