-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci.sh
More file actions
executable file
·23 lines (17 loc) · 721 Bytes
/
ci.sh
File metadata and controls
executable file
·23 lines (17 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Continuous Integration - run by Travis or can be run locally
# Fail out if anything errors
set -e
# Run Jekyll build to generate site output
# jekyll build
# Run HTML Proofer with the following parameters:
#
# --allow-hash-href - Fix href="#" being marked as invalid
# --disable-external - Don't run external link checks - often doesn't work anyhow
# --ignore_empty_alt - Allow empty alt tags for decorative images
#
# Learn more: https://github.com/gjtorikian/html-proofer#configuration
htmlproofer ./_site --allow-hash-href --enforce_https --disable_external --ignore-empty-alt
# Run Sass Lint verbose - cnfigured by .sass-lint.yml
sass-lint -v
# Run ESLint on the js/ directory
npx eslint js/