Skip to content

Commit

Permalink
invoking lambdatest AND githbub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed Jun 18, 2023
1 parent 334122c commit ec2eda6
Show file tree
Hide file tree
Showing 8 changed files with 718 additions and 40 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Test
on: push

env:
GH_ACTIONS: "true"
LAMBDATEST: "true"

jobs:
test:
Expand All @@ -20,6 +20,7 @@ jobs:
node-version: 16
- name: Setup firefox
uses: browser-actions/setup-firefox@v1
- run: firefox --version
- name: Install dependencies
run: |
curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@
"test": "pnpm run build && pnpm run test:typings && pnpm run test:unit",
"test:unit": "karma start test/karma.conf.js --single-run",
"test:typings": "tsc -p test/typings-test/",
"test:debug": "karma start test/karma.conf.js --log-level debug"
"test:debug": "karma start test/karma.conf.js --log-level debug",
"test:ltcloud": "cross-env LAMBDATEST=true npm run test:ltTunnel & sleep 10 && npm run test:unit",
"test:ltTunnel": "node test/lt-local"
},
"just-build": {
"default": [
Expand Down Expand Up @@ -116,6 +118,7 @@
},
"homepage": "https://dexie.org",
"devDependencies": {
"@lambdatest/node-tunnel": "^3.0.14",
"dts-bundle-generator": "^5.9.0",
"just-build": "^0.9.24",
"karma": "^6.1.1",
Expand All @@ -124,6 +127,7 @@
"karma-firefox-launcher": "^2.1.0",
"karma-mocha-reporter": "^2.2.5",
"karma-qunit": "^4.1.1",
"karma-webdriver-launcher": "^1.0.8",
"qunit": "^2.10.0",
"qunitjs": "^1.23.1",
"rollup": "^2.40.0",
Expand Down

0 comments on commit ec2eda6

Please sign in to comment.