Skip to content

Commit

Permalink
use latest version of @fleetbase/sdk add env vars to github workflow …
Browse files Browse the repository at this point in the history
…for testing
  • Loading branch information
roncodes committed Dec 25, 2024
1 parent 248d5b8 commit 6a7c988
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Test
run: pnpm test
env:
STOREFRONT_KEY: ${{ secrets.STOREFRONT_KEY }}
FLEETBASE_KEY: ${{ secrets.FLEETBASE_KEY }}
FLEETBASE_HOST: ${{ secrets.FLEETBASE_HOST }}

- name: Build
run: pnpm run bundle

Expand Down
2 changes: 1 addition & 1 deletion dist/@storefront.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/storefront.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/storefront.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"lint:tests": "eslint tests",
"bundle": "rollup -c",
"dev": "rollup -c -w",
"test": "mocha -r @babel/register -r dotenv/config tests/*.test.js",
"test": "mocha -r @babel/register -r dotenv/config 'tests/*.test.js' --timeout 10000",
"format": "prettier . --write"
},
"dependencies": {
"@fleetbase/sdk": "link:../fleetbase-js",
"@fleetbase/sdk": "^1.2.11",
"countries-list": "^3.1.1",
"date-fns": "^4.1.0"
},
Expand Down
84 changes: 82 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a7c988

Please sign in to comment.