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

.gitlab-ci.yml

Node इमेज का उपयोग करते हुए test और build चरणों वाली GitLab CI पाइपलाइन।

image: node:22

stages:
  - test
  - build

cache:
  paths:
    - node_modules/

test:
  stage: test
  script:
    - npm ci
    - npm test

build:
  stage: build
  script:
    - npm run build
  artifacts:
    paths:
      - dist/

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

Node इमेज का उपयोग करते हुए test और build चरणों वाली GitLab CI पाइपलाइन।

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