mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +01:00
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:
committed by
GitHub
parent
4ff3604da7
commit
f1e5f22423
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -17,8 +17,9 @@ jobs:
|
|||||||
# TODO (#2114): re-enable osx build.
|
# TODO (#2114): re-enable osx build.
|
||||||
# os: [ubuntu-latest, macos-latest]
|
# os: [ubuntu-latest, macos-latest]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
node-version: [14.x, 16.x]
|
node-version: [14.x, 16.x, 18.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at
|
||||||
|
# https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|||||||
@@ -89,8 +89,8 @@
|
|||||||
"gulp": "^4.0.2",
|
"gulp": "^4.0.2",
|
||||||
"gulp-clang-format": "^1.0.27",
|
"gulp-clang-format": "^1.0.27",
|
||||||
"gulp-concat": "^2.6.1",
|
"gulp-concat": "^2.6.1",
|
||||||
"gulp-header": "^2.0.9",
|
|
||||||
"gulp-gzip": "^1.4.2",
|
"gulp-gzip": "^1.4.2",
|
||||||
|
"gulp-header": "^2.0.9",
|
||||||
"gulp-insert": "^0.5.0",
|
"gulp-insert": "^0.5.0",
|
||||||
"gulp-rename": "^2.0.0",
|
"gulp-rename": "^2.0.0",
|
||||||
"gulp-replace": "^1.0.0",
|
"gulp-replace": "^1.0.0",
|
||||||
|
|||||||
@@ -4,5 +4,4 @@ if [ "${RUNNER_OS}" == "Linux" ]
|
|||||||
then
|
then
|
||||||
Xvfb :99 &
|
Xvfb :99 &
|
||||||
export DISPLAY=:99 &
|
export DISPLAY=:99 &
|
||||||
npm run test:prepare > /dev/null &
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -3,5 +3,4 @@
|
|||||||
if [ "${RUNNER_OS}" == "macOS" ]
|
if [ "${RUNNER_OS}" == "macOS" ]
|
||||||
then
|
then
|
||||||
export CHROME_BIN="/Applications/Google Chrome.app"
|
export CHROME_BIN="/Applications/Google Chrome.app"
|
||||||
npm run test:prepare > /dev/null &
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user