chore: use node 14 in CI, update mocha, fix gitignore (#2191)

This commit is contained in:
Nolan Lawson 2022-11-17 17:09:37 -08:00 committed by GitHub
parent 3c59069490
commit 6f4eb98397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1918 additions and 2183 deletions

View File

@ -63,8 +63,8 @@ commands:
name: "Install Node.js"
# via https://circleci.com/docs/2.0/circleci-images/#notes-on-pinning-images
command: |
curl -sSL "https://nodejs.org/dist/v12.22.3/node-v12.22.3-linux-x64.tar.xz" \
| sudo tar --strip-components=2 -xJ -C /usr/local/bin/ node-v12.22.3-linux-x64/bin/node
curl -sSL "https://nodejs.org/dist/v14.21.1/node-v14.21.1-linux-x64.tar.xz" \
| sudo tar --strip-components=2 -xJ -C /usr/local/bin/ node-v14.21.1-linux-x64/bin/node
- run:
name: Check current version of node
command: node -v

1
.gitignore vendored
View File

@ -9,6 +9,7 @@
/static/inline-script.js.map
/static/emoji-*.json
/static/manifest.json
/static/TwemojiCountryFlags.woff2
/src/inline-script/checksum.js
yarn-error.log

View File

@ -4,7 +4,7 @@
"version": "2.2.3",
"type": "module",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
"node": "^12.20.0 || ^14.13.1 || ^16.0.0 || ^18.0.0"
},
"scripts": {
"lint": "standard && standard --plugin html 'src/routes/**/*.html'",
@ -121,7 +121,7 @@
"globby": "^11.0.4",
"husky": "^7.0.4",
"lint-staged": "^11.0.0",
"mocha": "^9.2.0",
"mocha": "^10.1.0",
"standard": "^16.0.4",
"testcafe": "^1.18.6"
},
@ -196,7 +196,7 @@
"*.html": "standard --fix --plugin html 'src/routes/**/*.html'"
},
"volta": {
"node": "12.22.12",
"node": "14.21.1",
"yarn": "1.22.19"
}
}

Binary file not shown.

4090
yarn.lock

File diff suppressed because it is too large Load Diff