Skip to content

Commit

Permalink
Merge pull request #6348 from topcoder-platform/circleci-fix
Browse files Browse the repository at this point in the history
CircleCI Git URL fix
  • Loading branch information
luizrrodrigues authored May 20, 2022
2 parents 0a397bb + 926798b commit aead278
Show file tree
Hide file tree
Showing 3 changed files with 5,266 additions and 5,285 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ jobs:
- checkout
- restore_cache:
key: test-node-modules-{{ checksum "package-lock.json" }}
- run:
name: Config Git
command: git config --global url."https://git@".insteadOf git://
- run:
name: App npm install
command: npm install
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ ENV OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY
# Testing and build of the application inside the container.

RUN npm config set unsafe-perm true
RUN git config --global url."https://git@".insteadOf git://
RUN npm install
RUN npm test
RUN npm run build
Expand Down
Loading

0 comments on commit aead278

Please sign in to comment.