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

nonbreak
Nolan Lawson 2022-11-17 17:09:37 -08:00 zatwierdzone przez GitHub
rodzic 3c59069490
commit 6f4eb98397
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
5 zmienionych plików z 1918 dodań i 2183 usunięć

Wyświetl plik

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

1
.gitignore vendored
Wyświetl plik

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

Wyświetl plik

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

Plik binarny nie jest wyświetlany.

4090
yarn.lock

Plik diff jest za duży Load Diff