Skip to content

Commit 22e33a9

Browse files
committed
npm fix and brought back removal of codeclimate
1 parent b12db1e commit 22e33a9

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ jobs:
9292
name: "Update Node.js and npm"
9393
command: |
9494
curl -sSL "https://nodejs.org/dist/v22.14.0/node-v22.14.0-linux-x64.tar.xz" | sudo tar --strip-components=2 -xJ -C /usr/local/bin/ node-v22.14.0-linux-x64/bin/node
95-
curl -L https://npmjs.com/install.sh | sudo bash
95+
sudo corepack enable
96+
sudo corepack prepare [email protected] --activate
9697
- run:
9798
name: "Bundle"
9899
command: |

bin/ci-rspec

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,14 @@ export MYSQL_PASSWORD=mysql
55
export MYSQL_HOST=mysql
66
export MYSQL_DATABASE=mysql
77

8-
#REPORTER_BIN="cc-test-reporter"
98

109
echo "initalizing solr"
1110
bundle exec rake solr:create_collection
1211
bundle exec rake solr:update_config
1312
bundle exec rake solr:create_alias
1413
bundle exec rake solr:load_fixtures
1514

16-
#if [ ! -f ${REPORTER_BIN} ]; then
17-
# echo "Downloading Code Climate reporting tool"
18-
# if [[ $(uname) == *"Darwin"* ]]; then
19-
# wget -q https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 -O ${REPORTER_BIN}
20-
# else
21-
# wget -q https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 -O ${REPORTER_BIN}
22-
# fi
23-
# chmod 755 ${REPORTER_BIN}
24-
#fi
25-
26-
#./${REPORTER_BIN} before-build
2715
bundle exec rspec
2816
RSPEC_EXIT_CODE=$?
29-
#./${REPORTER_BIN} after-build
30-
exit ${RSPEC_EXIT_CODE}
17+
18+
exit ${RSPEC_EXIT_CODE}

0 commit comments

Comments
 (0)