diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 56617f15..8676e022 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,6 +42,5 @@ steps: - script: | npm install --no-package-lock - npm test - npm run lint - displayName: 'npm install and test' + npm run ci + displayName: 'npm install and run ci' diff --git a/package.json b/package.json index fc7b1619..650e05bd 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "test-extra": "nodeunit test/markdownlint-test-extra.js", "debug": "node debug node_modules/nodeunit/bin/nodeunit", "lint": "eslint lib helpers test schema && eslint --env browser --global markdownit --global markdownlint --rule \"no-unused-vars: 0, no-extend-native: 0, max-statements: 0, no-console: 0, no-var: 0\" demo && eslint --rule \"no-console: 0, no-invalid-this: 0, no-shadow: 0, object-property-newline: 0\" example", + "ci": "npm run test && npm run lint && npm run test-cover", "build-config-schema": "node schema/build-config-schema.js", "build-demo": "cpy node_modules/markdown-it/dist/markdown-it.min.js demo && cd demo && rimraf markdownlint-browser.* && cpy file-header.js . --rename=markdownlint-browser.js && tsc --allowJs --resolveJsonModule --outDir ../lib-es3 ../lib/markdownlint.js && cpy ../helpers/package.json ../lib-es3/helpers && browserify ../lib-es3/lib/markdownlint.js --standalone markdownlint >> markdownlint-browser.js && uglifyjs markdownlint-browser.js --compress --mangle --comments --output markdownlint-browser.min.js", "build-example": "npm install --no-save --ignore-scripts grunt grunt-cli gulp through2",