Back

GitHub Actions (CI/CD)

GitHub Actions automates tasks when you push code. The most common use is CI/CD: automatically running tests and deploying your app when you push to main.

# .github/workflows/ci.yml
name: CI

on:
  push:
    branches: [main]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: '18'
      - run: npm install
      - run: npm run build

Roadmap