chore(tests): Enable testing on node.js v18.x on GitHub CI (#6619)

* chore(tests): Enable testing on node.js v18.x on GitHub CI

* chore(tests): Remove outdated calls to test:prepare npm script

The calls to `npm run test:prepare` in `tests/scripts/setup_*_env.sh`
should have been removed along with that npm script in PR #4906.

* chore(deps): Fix alphabetisation in package.json
This commit is contained in:
Christopher Allen
2023-01-09 09:57:12 +00:00
committed by GitHub
parent 4ff3604da7
commit f1e5f22423
4 changed files with 4 additions and 5 deletions

View File

@@ -17,8 +17,9 @@ jobs:
# TODO (#2114): re-enable osx build.
# os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
node-version: [14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at
# https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3

View File

@@ -89,8 +89,8 @@
"gulp": "^4.0.2",
"gulp-clang-format": "^1.0.27",
"gulp-concat": "^2.6.1",
"gulp-header": "^2.0.9",
"gulp-gzip": "^1.4.2",
"gulp-header": "^2.0.9",
"gulp-insert": "^0.5.0",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.0.0",

View File

@@ -4,5 +4,4 @@ if [ "${RUNNER_OS}" == "Linux" ]
then
Xvfb :99 &
export DISPLAY=:99 &
npm run test:prepare > /dev/null &
fi

View File

@@ -3,5 +3,4 @@
if [ "${RUNNER_OS}" == "macOS" ]
then
export CHROME_BIN="/Applications/Google Chrome.app"
npm run test:prepare > /dev/null &
fi