diff options
Diffstat (limited to 'scripts/template-oss/ci.yml')
-rw-r--r-- | scripts/template-oss/ci.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/template-oss/ci.yml b/scripts/template-oss/ci.yml new file mode 100644 index 000000000..0ddffde96 --- /dev/null +++ b/scripts/template-oss/ci.yml @@ -0,0 +1,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 |