Skip to content

Commit

Permalink
Update CI node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewgdewar committed Oct 2, 2023
1 parent 2d52b88 commit e229c35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .rhcicd/build_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export IMAGE="quay.io/cloudservices/content-sources-frontend"
export WORKSPACE=${WORKSPACE:-$APP_ROOT} # if running in jenkins, use the build's workspace
export APP_ROOT=$(pwd)

# set NODE_BUILD_VERSION based on nvmrc or default to 16
# set NODE_BUILD_VERSION based on nvmrc or default to 18
if [[ -n $(<.nvmrc) ]]; then
export NODE_BUILD_VERSION=$(<.nvmrc)
else
export NODE_BUILD_VERSION=16
export NODE_BUILD_VERSION=18
fi

COMMON_BUILDER=https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master
Expand Down
4 changes: 2 additions & 2 deletions .rhcicd/pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export IMAGE="quay.io/cloudservices/content-sources-frontend"
export WORKSPACE=${WORKSPACE:-$APP_ROOT} # if running in jenkins, use the build's workspace
export APP_ROOT=$(pwd)

# set NODE_BUILD_VERSION based on nvmrc or default to 16
# set NODE_BUILD_VERSION based on nvmrc or default to 18
if [[ -n $(<.nvmrc) ]]; then
export NODE_BUILD_VERSION=$(<.nvmrc)
else
export NODE_BUILD_VERSION=16
export NODE_BUILD_VERSION=18
fi

COMMON_BUILDER=https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ notifications:
# insights-bot channel on [Ansible Slack](https://ansible.slack.com)
- secure: juuizlfiQolXbqy4L2nfODB1K8xiSGvUrzsT3XeXIsQqX7yCYVvnRUssKLbqgLM9m85kgXJk1ef0qwjJoliNqGcrALTZLHPTkxWwTnV7tPEVS/4uQPSyy+DDHDwrTzCrF3qhCqyKJ6vB18z22qm3qLgStmNj4p1ZLznsdJR/u7U3spJ+WLL70QSNHCQy/5QjRDDiR3oqWdXjhVcUCeV+v/2CtfqK3dqYtzCL/b7z8lm/YbV6w1Rd8mwzTgLstbzjrvR/gq2IPALzzJTq1S8lXtV7ZtbYz4bjB8RNCRZFJrjBUH4CqD1oUskit4RRe+ilVs8qNQh0Tt3whsOdbJoRXJn2B/NVxppp2WGlODdsuMgfNh5iBocHKN3Qo4mONbstnHFG99Hr7L8GbUugJHEQlrZn1xRyO9ulyVp+hFp8/F088NNyhnd3+lERUPA5/4+HPQh6Ea+PyKq2TR41VoDGcRDBS4VY/6PfLEJzxEBjwRAAemfvtOFTUu2EocuAllPX1vMA4b1j7Wm+Bs7wft6nEcVdftVanfAgx4dNksnaS8zN9II8rdtBci2yXYJ6J+e+REDn/2IrHaUwr0N9BojYc0ePUElDcygW4Kk1oGklHp681j2zhi1Gt7rbuae1C9fD4QHnryx59uVH5NXqDsXI5EbwTJE3zvzRz9SzmyDqV5A=
node_js:
- '16'
- '18.12.1'
install:
- npm ci
jobs:
Expand Down

0 comments on commit e229c35

Please sign in to comment.