-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ping CI * Isolated upgrade to 14 * Remove comment * Add comment
- Loading branch information
1 parent
8eb82ed
commit 7d1fb6a
Showing
3 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,17 +50,12 @@ jobs: | |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | ||
# The CI code that ran on the previous "latest" Circle machine image used the nvm included on that image | ||
# to install what that version of nvm considered to be the LTS version of Node. However the current Node LTS | ||
# is now 16 and some of JMUI's dependencies break with Node 14+, so install Node 12 explicitly. | ||
# | ||
# npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. | ||
nvm install 12 | ||
nvm install 14 | ||
cd ui | ||
npm install | ||
# node-sass was apparently built for Node 6 and requires this extra step for Node 12. | ||
# node-sass was apparently built for Node 6 and requires this extra step for Node 14. | ||
npm rebuild node-sass | ||
npm install -g @angular/[email protected] | ||
|
@@ -79,7 +74,7 @@ jobs: | |
# nvm setup commands and Node install reprised | ||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
nvm install 12 | ||
nvm install 14 | ||
ng lint --type-check | ||
- run: | ||
name: Run UI unit tests | ||
|
@@ -88,7 +83,7 @@ jobs: | |
# nvm setup commands and Node install reprised | ||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
nvm install 12 | ||
nvm install 14 | ||
ng test --single-run -sm=false --browsers=ChromeHeadless | ||
- run: | ||
name: Ensure the UI builds for prod | ||
|
@@ -100,7 +95,7 @@ jobs: | |
# nvm setup commands and Node install reprised | ||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
nvm install 12 | ||
nvm install 14 | ||
ng build --target=production --environment=dev | ||
backends: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Note: This is the dockerfile for development purposes | ||
|
||
# We are aware that some dev dependencies are broken in node 14, for example chokidar | ||
# npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. | ||
FROM node:14 | ||
|
||
# Install python 2, needed for npm packages | ||
|