]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move the linkinator test in `npm t`. (#29003)
authorXhmikosR <xhmikosr@gmail.com>
Mon, 15 Jul 2019 13:26:36 +0000 (16:26 +0300)
committerGitHub <noreply@github.com>
Mon, 15 Jul 2019 13:26:36 +0000 (16:26 +0300)
.travis.yml
package.json

index 24c73c66fe11344cca2eec5d05fcf61db37576b2..68e5d07bfca4f3b77282b9c3f884b8d9e05c5845 100644 (file)
@@ -11,7 +11,6 @@ before_script:
   - google-chrome-stable --product-version
 script:
   - npm test || travis_terminate 1
-  - if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run linkinator; fi
   - if [[ "$TRAVIS_NODE_VERSION" = "10" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi
 after_success:
   - if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run coveralls; fi
index cb2a216a7e35c9c2a8c976f1860e5fdb441e2cb4..5b6aa6fa3d1d00374b9b097825ecad8b1e126c2d 100644 (file)
@@ -19,7 +19,6 @@
   ],
   "scripts": {
     "start": "npm-run-all --parallel watch docs-serve",
-    "linkinator": "linkinator _gh_pages --recurse --silent --skip \"^(?!http://localhost)\"",
     "bundlesize": "bundlesize",
     "css": "npm-run-all css-compile css-prefix css-minify css-copy",
     "css-copy": "cross-env-shell shx mkdir -p site/static/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/css/ site/static/docs/$npm_package_version_short/dist/",
@@ -71,7 +70,9 @@
     "docs-build": "hugo --cleanDestinationDir",
     "docs-compile": "npm run docs-build",
     "docs-production": "cross-env HUGO_ENV=production npm run docs-build",
-    "docs-lint": "node build/vnu-jar.js",
+    "docs-linkinator": "linkinator _gh_pages --recurse --silent --skip \"^(?!http://localhost)\"",
+    "docs-vnu": "node build/vnu-jar.js",
+    "docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
     "predocs-serve": "npm-run-all css-copy js-copy",
     "docs-serve": "hugo server --port 9001 --disableFastRender",
     "docs-serve-only": "http-server _gh_pages -p 9001 -a localhost",