Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Fix running tests and build #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
name: Test
command: |
. .circleci/load-nvm.sh
echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_LOGIN" --password-stdin >/dev/null 2>&1
npm run test

workflows:
Expand Down
9 changes: 9 additions & 0 deletions docker-compose-cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ services:
build:
context: .
dockerfile: ./docker/express/Dockerfile.express
networks:
- vendo-dev
cypress:
build:
context: .
dockerfile: ./tests/Dockerfile.cypress
networks:
- vendo-dev
docker-host:
image: qoomon/docker-host:3.0.3
cap_add: ['NET_ADMIN', 'NET_RAW']
restart: on-failure
networks:
- vendo-dev

networks:
vendo-dev:
9 changes: 9 additions & 0 deletions docker-compose-spree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ services:
- '5432:5432'
volumes:
- 'postgres:/var/lib/postgresql/data'
networks:
- vendo-dev
redis:
image: redis:6.2-alpine
volumes:
- 'redis:/data'
networks:
- vendo-dev
spree: # Runs production Spree
depends_on:
- 'postgres'
Expand All @@ -34,9 +38,14 @@ services:
SECRET_KEY_BASE: skb
ALLOWED_ORIGIN_HOSTS: '*'
RACK_CORS_DEBUG: 'true'
networks:
- vendo-dev

volumes:
spree:
bundle_cache:
redis:
postgres:

networks:
vendo-dev:
5 changes: 5 additions & 0 deletions docker-compose-test-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ services:
build:
context: .
dockerfile: ./Dockerfile.test-runtime
networks:
- vendo-dev

networks:
vendo-dev:
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/spark-solutions/spree-storefront-api-v2-js-sdk.git"
"url": "git+https://github.com/vendo-dev/js-sdk.git"
},
"author": "Spark Solutions <[email protected]> (https://sparksolutions.co)",
"license": "MIT",
"bugs": {
"url": "https://github.com/spark-solutions/spree-storefront-api-v2-js-sdk/issues"
"url": "https://github.com/vendo-dev/js-sdk/issues"
},
"homepage": "https://guides.spreecommerce.org/api/v2",
"devDependencies": {
Expand Down