Skip to content

Commit 5d71128

Browse files
🏗️ incorporate check-html task into CI
1 parent 5955cc4 commit 5d71128

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
14.8

.travis.yml

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
1-
language: node_js
2-
node_js:
3-
- "8"
1+
language: ruby
2+
3+
sudo: required
4+
5+
addons:
6+
apt:
7+
packages:
8+
- wget
9+
- curl
10+
11+
jdk:
12+
- openjdk14
13+
14+
before_install:
15+
- wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
16+
- source ~/.bashrc
17+
- nvm install 14.8
18+
- node --version
419

520
install:
21+
- bundle install
22+
- gem install jekyll
623
- travis_retry npm install
724

825
script:
926
- npm run lint
27+
- npm run check:html

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"lint": "npm run lint:js && npm run lint:scss",
99
"lint:js": "prettier -c --loglevel warn **/*.js",
1010
"lint:scss": "stylelint _sass",
11+
"check:html": "bundle exec jekyll build && node _tasks/check-html.mjs",
1112
"test": "echo \"Error: no test specified\" && exit 1"
1213
},
1314
"repository": {
@@ -20,6 +21,9 @@
2021
"url": "https://github.com/tc39/tc39.github.io/issues"
2122
},
2223
"homepage": "https://tc39.es/",
24+
"engines": {
25+
"node": "14.8"
26+
},
2327
"devDependencies": {
2428
"prettier": "^1.17.1",
2529
"stylelint": "^10.0.1",

0 commit comments

Comments
 (0)