Skip to content

Commit 12b65d2

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

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

.nvmrc

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

.travis.yml

+20-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
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+
10+
jdk:
11+
- openjdk14
12+
13+
before_install:
14+
- wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
15+
- source ~/.bashrc
16+
- nvm install
17+
- node --version
418

519
install:
20+
- bundle install
21+
- gem install jekyll
622
- travis_retry npm install
723

824
script:
925
- npm run lint
26+
- 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"
26+
},
2327
"devDependencies": {
2428
"prettier": "^1.17.1",
2529
"stylelint": "^10.0.1",

0 commit comments

Comments
 (0)