From e081a8fa4f639253fee54305546cbdbde92f7a57 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Sun, 1 Dec 2024 21:30:16 -0500 Subject: [PATCH] build astra-db-ts version and test against it --- .github/workflows/test.yml | 8 +++++++- netlify-functions-ecommerce/package.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4c14c3..76faf69 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,13 @@ jobs: with: repository: stargate/stargate-mongoose path: stargate-mongoose - ref: main + ref: vkarpov15/astra-stargate-example + - name: Build stargate-mongoose + run: | + npm install + npm run build + node ./bin/create-tarball + 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 df06d24..3e5af86 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": "0.6.7", + "stargate-mongoose": "file:./stargate-mongoose/stargate-mongoose.tgz", "stripe": "17.4.0", "vanillatoasts": "1.6.0", "webpack": "5.x"