Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ci.yml « template-oss « scripts - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ddffde96eec3bff18b6c3e4fb62542db064dd18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI - cli

on:
  {{> onCi }}

jobs:
  lint:
    {{> job jobName="Lint" }}
      {{> stepLint jobRunFlags=pkgFlags }}

  check-docs:
    {{> job jobName="Check Docs" }}
      - name: Make Docs
        run: make freshdocs
      - name: Check Git Status
        run: node scripts/git-dirty.js

  licenses:
    {{> job jobName="Check Licenses" }}
      - name: Check Licenses
        run: {{rootNpmPath}} run licenses

  smoke-tests:
    {{> job jobName="Smoke Tests" }}
      - name: Run Smoke Tests
        run: {{rootNpmPath}} test -w smoke-tests --ignore-scripts
      - name: Check Git Status
        run: node scripts/git-dirty.js

  test:
    {{> jobMatrix jobName="Test" }}
      {{> stepTest jobRunFlags=pkgFlags }}
      - name: Check Git Status
        if: matrix.platform.os != 'windows-latest'
        run: node scripts/git-dirty.js