Use Node.js 10 for CI builds
This commit is contained in:
parent
caed1c37e0
commit
67558d65a6
3 changed files with 21 additions and 9 deletions
|
@ -1,6 +1,14 @@
|
||||||
build-steps: &build-steps
|
build-steps: &build-steps
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Install Node.js 10 on MacOS
|
||||||
|
command: |
|
||||||
|
if [ "$INSTALL_MACOS_NODE" == "true" ]; then
|
||||||
|
echo 'Installing Node.js 10 for MacOS'
|
||||||
|
brew update
|
||||||
|
brew install node@10
|
||||||
|
fi
|
||||||
- run:
|
- run:
|
||||||
name: Check for release
|
name: Check for release
|
||||||
command: |
|
command: |
|
||||||
|
@ -117,7 +125,7 @@ build-steps: &build-steps
|
||||||
|
|
||||||
build-defaults: &build-defaults
|
build-defaults: &build-defaults
|
||||||
docker:
|
docker:
|
||||||
- image: electronbuilds/electron:0.0.7
|
- image: electronbuilds/electron:0.0.8
|
||||||
<<: *build-steps
|
<<: *build-steps
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
|
@ -241,16 +249,18 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
TARGET_ARCH: x64
|
TARGET_ARCH: x64
|
||||||
RUN_TESTS: true
|
RUN_TESTS: true
|
||||||
|
INSTALL_MACOS_NODE: true
|
||||||
macos:
|
macos:
|
||||||
xcode: "9.0"
|
xcode: "8.3.3"
|
||||||
<<: *build-steps
|
<<: *build-steps
|
||||||
|
|
||||||
electron-osx-x64-release-nightly:
|
electron-osx-x64-release-nightly:
|
||||||
environment:
|
environment:
|
||||||
TARGET_ARCH: x64
|
TARGET_ARCH: x64
|
||||||
RUN_RELEASE_BUILD: true
|
RUN_RELEASE_BUILD: true
|
||||||
|
INSTALL_MACOS_NODE: true
|
||||||
macos:
|
macos:
|
||||||
xcode: "9.0"
|
xcode: "8.3.3"
|
||||||
<<: *build-steps
|
<<: *build-steps
|
||||||
|
|
||||||
electron-mas-x64:
|
electron-mas-x64:
|
||||||
|
@ -258,8 +268,9 @@ jobs:
|
||||||
TARGET_ARCH: x64
|
TARGET_ARCH: x64
|
||||||
MAS_BUILD: 1
|
MAS_BUILD: 1
|
||||||
RUN_TESTS: true
|
RUN_TESTS: true
|
||||||
|
INSTALL_MACOS_NODE: true
|
||||||
macos:
|
macos:
|
||||||
xcode: "9.0"
|
xcode: "8.3.3"
|
||||||
<<: *build-steps
|
<<: *build-steps
|
||||||
|
|
||||||
electron-mas-x64-release-nightly:
|
electron-mas-x64-release-nightly:
|
||||||
|
@ -267,8 +278,9 @@ jobs:
|
||||||
TARGET_ARCH: x64
|
TARGET_ARCH: x64
|
||||||
MAS_BUILD: 1
|
MAS_BUILD: 1
|
||||||
RUN_RELEASE_BUILD: true
|
RUN_RELEASE_BUILD: true
|
||||||
|
INSTALL_MACOS_NODE: true
|
||||||
macos:
|
macos:
|
||||||
xcode: "9.0"
|
xcode: "8.3.3"
|
||||||
<<: *build-steps
|
<<: *build-steps
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@ ENV HOME=/home
|
||||||
RUN chmod a+rwx /home
|
RUN chmod a+rwx /home
|
||||||
|
|
||||||
# Install node.js
|
# Install node.js
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
|
||||||
RUN apt-get update && apt-get install -y nodejs
|
RUN apt-get install -y nodejs
|
||||||
|
|
||||||
# Install wget used by crash reporter
|
# Install wget used by crash reporter
|
||||||
RUN apt-get install -y wget
|
RUN apt-get install -y wget
|
||||||
|
|
|
@ -3,8 +3,8 @@ FROM electronbuilds/libchromiumcontent:0.0.4
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
# Install node.js
|
# Install node.js
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
|
||||||
RUN apt-get update && apt-get install -y nodejs
|
RUN apt-get install -y nodejs
|
||||||
|
|
||||||
# Install wget used by crash reporter
|
# Install wget used by crash reporter
|
||||||
RUN apt-get install -y wget
|
RUN apt-get install -y wget
|
||||||
|
|
Loading…
Reference in a new issue