From aedaae03198127a8a669e6cc8e09388bd1f8b88c Mon Sep 17 00:00:00 2001 From: Nicholas Rice Date: Tue, 16 Jun 2020 11:17:46 -0700 Subject: [PATCH] chore: add api-extractor to CI for fast-element (#3318) --- packages/web-components/fast-element/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web-components/fast-element/package.json b/packages/web-components/fast-element/package.json index 51fff8ba033..62ff7453d76 100644 --- a/packages/web-components/fast-element/package.json +++ b/packages/web-components/fast-element/package.json @@ -21,6 +21,7 @@ "scripts": { "clean:dist": "node ../../../build/clean.js dist", "doc": "api-extractor run --local", + "doc:ci": "api-extractor run", "build": "tsc -p ./tsconfig.json && rollup -c && npm run doc", "dev": "tsc -p ./tsconfig.json -w", "tdd": "npm run dev & npm run test-chrome:watch", @@ -29,7 +30,7 @@ "prettier:diff": "prettier --config ../../../.prettierrc \"**/*.ts\" --list-different", "eslint": "eslint . --ext .ts", "eslint:fix": "eslint . --ext .ts --fix", - "test": "npm run test-chrome:verbose", + "test": "yarn test-chrome:verbose && yarn doc:ci", "test-node": "mocha --reporter min --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'", "test-node:verbose": "mocha --reporter spec --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'", "test-chrome": "karma start karma.conf.js --browsers=ChromeHeadlessOpt --single-run --coverage",