← सभी कोड फ़ाइलें

.github/workflows/ci.yml

GitHub Actions: हर push और pull request पर install, lint, test और build।

name: CI

on:
  push:
    branches: [main]
  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 22
          cache: npm
      - run: npm ci
      - run: npm run lint --if-present
      - run: npm test --if-present
      - run: npm run build --if-present

इस टूल के बारे में

GitHub Actions: हर push और pull request पर install, lint, test और build।

उपयोग के लिए तैयार .github/workflows/ci.yml — सामग्री देखें, कॉपी करें, या सही फ़ाइल नाम के साथ डाउनलोड करें। मुफ़्त और 100% ब्राउज़र में।