Skip to content

Commit

Permalink
chore: use node 14 in CI, update mocha, fix gitignore (#2191)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored Nov 18, 2022
1 parent 3c59069 commit 6f4eb98
Show file tree
Hide file tree
Showing 5 changed files with 1,965 additions and 2,230 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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 removed static/TwemojiCountryFlags.woff2
Binary file not shown.
Loading

0 comments on commit 6f4eb98

Please sign in to comment.