addio-admin-sdk 1.7.189-canary-2 → 1.7.190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,4 +45,5 @@ jobs:
45
45
  echo "NEXT_PUBLIC_SERVICE_DATABASE_URL=https://db-test.addiocommerce.com/" >> .env
46
46
  echo "NEXT_PUBLIC_SERVICE_DATABASE_TOKEN=$SERVICE_DATABASE_TOKEN" >> .env
47
47
  echo "NEXT_PUBLIC_API_URL=https://api-test.addiocommerce.com/v1" >> .env
48
- yarn test
48
+ yarn tests
49
+
@@ -0,0 +1,32 @@
1
+ # A workflow for deploying the Unit Tests coverage report to GitHub Pages
2
+ name: Update Documentations
3
+
4
+ on:
5
+ # Runs on PR targeting the default branch
6
+ push:
7
+ branches:
8
+ - master
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ # Single deploy job since we're just deploying
15
+ run_tests:
16
+ runs-on: ubuntu-latest
17
+ env:
18
+ DEPLOY_DOC_TOKEN: ${{secrets.DEPLOY_DOC_TOKEN}}
19
+ strategy:
20
+ matrix:
21
+ node-version: [20.x]
22
+ steps:
23
+ - name: Checkout, yarn, run tests
24
+ uses: actions/checkout@v3
25
+ - run: |
26
+ yarn add typedoc typedoc-plugin-markdown
27
+ npx typedoc --entryPointStrategy Expand --plugin typedoc-plugin-markdown --out docs --entryPoints src
28
+ sudo apt install zip
29
+ cd docs
30
+ zip -r ../docs.zip .
31
+ cd ..
32
+ curl -X POST -H "Authorization: Bearer $DEPLOY_DOC_TOKEN" -H "Content-Type: multipart/form-data" -F "file=@docs.zip" -F "projectSlug=addio-admin-sdk" https://doc.ecomm.titanestudio.ca/api/docs/zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "addio-admin-sdk",
3
- "version": "1.7.189-canary-2",
3
+ "version": "1.7.190",
4
4
  "description": "Admin EComm SDK - Addio",
5
5
  "main": "dist/index.js",
6
6
  "repository": "https://github.com/gitngin/gng-tb-admin-sdk",