From 3ff4948d2fca08808655297bb23822429c8fa0ec Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 2 Dec 2024 12:04:52 -0500 Subject: [PATCH] use prebuilt stargate-mongoose dist from github --- .github/workflows/test.yml | 6 ------ netlify-functions-ecommerce/package.json | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ca9c3f..e3783bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -74,12 +74,6 @@ jobs: repository: stargate/stargate-mongoose path: stargate-mongoose ref: vkarpov15/astra-stargate-example - - name: Build stargate-mongoose - run: | - npm install - npm run build - npm pack - working-directory: stargate-mongoose - name: Set up JSON API run: | chmod +x bin/start_data_api.sh diff --git a/netlify-functions-ecommerce/package.json b/netlify-functions-ecommerce/package.json index a5e0ac5..f02e256 100644 --- a/netlify-functions-ecommerce/package.json +++ b/netlify-functions-ecommerce/package.json @@ -6,7 +6,7 @@ "dotenv": "16.4.5", "mongoose": "^8.1", "sinon": "19.0.2", - "stargate-mongoose": "file:../stargate-mongoose/stargate-mongoose-0.6.7.tgz", + "stargate-mongoose": "git@github.com:stargate/stargate-mongoose#vkarpov15/astra-stargate-example", "stripe": "17.4.0", "vanillatoasts": "1.6.0", "webpack": "5.x"